Glenn L McGrath
642f28903a
Use error_msg instead of fprintf(stderr, other minor cleanups
2002-11-28 10:20:45 +00:00
Glenn L McGrath
30db423e11
Style, minor cleanups
2002-11-28 09:52:23 +00:00
Glenn L McGrath
8ae4cab4a8
use #ifdef CONFIG_* instead of #if CONFIG_*
2002-11-26 09:02:06 +00:00
Glenn L McGrath
d7fb1b372c
Use #ifdef instead of #if
2002-11-26 02:40:56 +00:00
Glenn L McGrath
393ad1a834
Handle name entries that have a \0 in them, last_patch_65 from Vladimir N. Oleynik
2002-11-25 22:31:37 +00:00
Glenn L McGrath
5b110874df
Dont need a seperate function
2002-11-24 23:22:29 +00:00
Glenn L McGrath
822e7fd587
When making parent directories set permissions based on the base parent tree rather than the new directory to be created.
2002-11-24 22:48:20 +00:00
Glenn L McGrath
7b1eca265a
include libbb after stdlib.h as it breaks dmalloc
2002-11-24 01:32:56 +00:00
Glenn L McGrath
157fea5960
Fix a vfork bug, by Nick Fedchik and Vladimir N. Oleynik
2002-11-21 22:17:11 +00:00
Glenn L McGrath
39289b54a7
Use vfork, by vodz
2002-11-15 22:18:01 +00:00
Glenn L McGrath
545106f8db
Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, moves the guts of run_parts to libbb to be used by ifupdown.
2002-11-11 06:21:00 +00:00
Glenn L McGrath
237ae42fc9
Abstract read and seek in unarchiving code, convert bunzip to file descriptors, support tar -j
2002-11-03 14:05:15 +00:00
Eric Andersen
44608e9693
Patch last_pach62 from vodz. This patch moves all the /proc parsing
...
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
2002-10-22 12:21:15 +00:00
Glenn L McGrath
9ffd5776eb
Move unzip.c uncompress.c from libbb to archiveal/libunarchive
2002-10-22 01:07:32 +00:00
Glenn L McGrath
0d53ebdc52
gz_open is used anymore, use inflate directly, see how its done in get_header_tar_gz
2002-10-21 06:29:55 +00:00
Glenn L McGrath
4298e87fa5
Dont try and make the "/" directory
2002-10-19 23:56:41 +00:00
Eric Andersen
71ae64bdc6
last_patch61 from vodz:
...
New complex patch for decrease size devel version. Requires previous patch.
Also removed small problems from dutmp and tar applets.
Also includes vodz' last_patch61_2:
Last patch correcting comment for #endif and more integrated
with libbb (very reduce size if used "cat" applet also).
Requires last_patch61 for modutils/config.in.
2002-10-10 04:20:21 +00:00
Eric Andersen
02e6ba91e8
Vodz' last_patch57:
...
Hi, Erik.
my_getpw(uid/gid) and applets used it have problem:
if username for uid not found, applets can`t detect it
(but code pessent). Also "%8ld " format is bad:
spaces not required (applets have self format
or spec format (tar applet) and overflow for "id" applet...)
This problem also pressent in stable version.
Patch for unstable in attach.
--w
vodz
2002-09-30 20:39:56 +00:00
Glenn L McGrath
891ee641cb
Fail straight away rather than recursively printing error messages :)
2002-09-28 08:30:47 +00:00
Glenn L McGrath
2e41d0cb77
Fix compress support and prevent a segfault
2002-09-27 06:46:02 +00:00
Glenn L McGrath
7ca04f328e
New common unarchive code.
2002-09-25 02:47:48 +00:00
Glenn L McGrath
b3f7261ffe
Fix error messages conditions, and make them the same as GNU mkdir.
2002-09-22 02:12:30 +00:00
Eric Andersen
a9a220b92a
last_patch56 from vodz to simplify copy_file logic
2002-09-17 08:42:21 +00:00
Eric Andersen
7365c58783
Use "MiB" not "Mb"
...
-Erik
2002-09-17 06:36:56 +00:00
Eric Andersen
02b8dfc524
Let people force overwrite links
...
-Erik
2002-09-16 10:23:38 +00:00
Eric Andersen
403a73a351
Properly honor FILEUTILS_INTERACTIVE and FILEUTILS_FORCE for
...
file all file types (not just regular files and dirs). Unlink
destination files when needed.
-Erik
2002-09-16 09:23:22 +00:00
Eric Andersen
8fede28c74
Patch from Matthias Lang <matthias@corelatus.se> to fix gunzip
...
error handling and prevent gunzip from hanging.
2002-09-16 07:25:41 +00:00
Eric Andersen
c38678d14b
Apply vodz' last_patch52
2002-09-16 06:22:25 +00:00
Manuel Novoa III
4d0884a1ea
Apply vodz's last_patch53.gz (bb_asprintf.c) and last_patch54.gz
...
(arith.c).
2002-09-12 14:52:26 +00:00
Glenn L McGrath
193697db4e
Dont return an error if the directory already existed
2002-08-24 20:11:38 +00:00
Glenn L McGrath
210aa14916
Fix warning
2002-08-24 20:00:52 +00:00
Glenn L McGrath
fbef225c4b
Rewrite, its smaller
2002-08-23 17:19:26 +00:00
Glenn L McGrath
de9e803149
Apply vodz last_patch51_2 and run through indent
2002-08-23 12:04:23 +00:00
Glenn L McGrath
1ed9dd9d06
Remove duplicate definitions, run through indent
2002-08-22 19:35:36 +00:00
Glenn L McGrath
4534af2763
replace some global const ints with defines
2002-08-22 19:31:35 +00:00
Glenn L McGrath
9fef17dec3
Run through indent, fix comments
2002-08-22 18:41:20 +00:00
Glenn L McGrath
3d184586a7
Fix dietlibc test condition
2002-08-15 03:29:56 +00:00
Eric Andersen
938e982c4d
Try to be a bit more dietlibc friendly
2002-08-13 09:57:44 +00:00
Robert Griebl
efd4983eb1
- Forgot to cvs add bb_asprintf.c (from vodz' patch #50 )
...
- Applied Joel Coltoff's xconnect patch:
On both my host system and with mipsel-linux for my embedded systems
the function getservbyname() gives the port number already in host order.
In fact, this is how it was used by rdate in version 0.60.3. The snapshot
I have of the development tree from July 12, 2002 takes the port number
and stuffs it into htons() before it uses it. This causes bugs in rdate,
telnet and wget. This patch fixes that.
2002-07-19 20:27:11 +00:00
Robert Griebl
d378c3149c
Applied vodz' patches #49 and #50 (with a small correction in runshell.c)
...
#49 : I found one memory overflow and memory leak in "ln" applet.
Last patch reduced also 54 bytes. ;)
#50 : I found bug in loginutils/Makefile.in.
New patch have also new function to libbb and
aplied this to applets and other cosmetic changes.
2002-07-19 00:05:54 +00:00
Eric Andersen
cafc103230
Brad Campbell <brad@seme.com.au> notes that
...
xconnect.c needs #include <netinet/in.h>
to compile if CONFIG_FEATURE_IPV6 is not defined
2002-07-11 10:40:43 +00:00
Eric Andersen
887ca79f04
Scrub pwd.h and grp.h handling so we don't have to play any
...
silly games.
-Erik
2002-07-03 23:19:26 +00:00
Eric Andersen
0b31586c71
A patch from Bart Visscher <magick@linux-fan.com> to add an
...
xconnect helper routine which does:
-address and port resolving
-tries to connect to all resolved addresses until connected
-uses getaddrinfo, so works for IPv6 too
This patch also ports rdate, telnet, and wget to use the new
xconnect function. Thanks Bart!
2002-07-03 11:51:44 +00:00
Eric Andersen
51b8bd68bb
This patch from Bart Visscher <magick@linux-fan.com> adds
...
IPV6 support to busybox. This patch does the following:
* Add IPv6 support to libbb
* Enable IPv6 interface address display
* Add IPv6 config option
* Adds ping6, an adaptation of the ping applet for IPv6
* Adds support routines for ping6:
- xgethostbyname2
- create_icmp6_socket
* Adds ifconfig support for IPv6
* Add support IPv6 to netstat
* Add IPv6 support to route
Thanks Bart!
2002-07-03 11:46:38 +00:00
Eric Andersen
7234c3a0b6
Cleanup shadow.h stuff so it behaves as intended
...
-Erik
2002-07-03 04:47:43 +00:00
Aaron Lehmann
69d4178708
Remove advertising clauses in accordance with
...
ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
2002-06-23 22:25:24 +00:00
Aaron Lehmann
ed11993900
Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOW
2002-06-23 22:00:41 +00:00
Eric Andersen
27f64e1f4e
Port over the last of the tinylogin applets
...
-Erik
2002-06-23 04:24:25 +00:00
Matt Kraai
9ef2ea27d4
* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.
2002-06-11 13:25:26 +00:00
Eric Andersen
77d22c4abd
Patch from Gyepi SAM <gyepi@praxis-sw.com>:
...
When DEBUG is defined
1. need to include resolv.h (for _resinit())
2. remove _() call around string. It appears to be a remnant of i18n or some such notion
2002-06-06 12:11:55 +00:00
Robert Griebl
ea1a63a201
Fix for broken handling off BusyBox's own pwd/grp implementations
...
[Parts of this patch may overlap with my other two patches]
2002-06-04 20:10:23 +00:00
Robert Griebl
94a6a956f0
Support old-style compress (.Z) files via libbb / unzip( ) calls
...
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
[the cvs add for this file got lost somehow...]
2002-05-19 19:00:14 +00:00
Robert Griebl
f6495eb767
Support old-style compress (.Z) files via libbb / unzip( ) calls
...
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
2002-05-15 22:13:47 +00:00
Eric Andersen
c8459a5a8f
Silly me
2002-04-13 14:44:42 +00:00
Eric Andersen
db7d5fca5f
Stupid gcc always includes its own builtin strlen()...
2002-04-13 13:02:03 +00:00
Eric Andersen
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on
...
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
2002-04-12 12:05:57 +00:00
Eric Andersen
c7a3fb96d0
Fix devfs loop device support
2002-03-20 15:25:25 +00:00
Eric Andersen
89de1e7930
Reinitialize initial shift register value for on each pass.
...
-Erik
2002-03-20 13:30:40 +00:00
Eric Andersen
806c74fe19
Cleanup a libc5 compatibility hack
2002-03-12 00:35:40 +00:00
Matt Kraai
a99b194336
* libbb/xfuncs.c (xmalloc, xcalloc): Do not exit if a zero-length buffer is
...
requested.
(xrealloc): Simplify.
2002-02-26 15:28:22 +00:00
Matt Kraai
0733e840bd
chomp should only remove the newline if it occurs at the end of the input.
...
This was caught by the test suite (in sed/sed-aic-commands).
* libbb/chomp.c: Revert to revision 1.5.
2002-01-02 18:51:23 +00:00
Glenn L McGrath
87ac7028e0
unzip applet by Laurence Anderson
...
----------------------------------------------------------------------
2002-01-02 13:52:26 +00:00
Eric Andersen
79a466f128
optimize this a little bit.
2001-12-29 07:26:33 +00:00
Matt Kraai
1f0c43668a
Remove == TRUE' tests and convert
!= TRUE' and `== FALSE' tests to use !.
2001-12-20 23:13:26 +00:00
Matt Kraai
ace02dc9cd
Make cp and mv optionally preserve hard links.
2001-12-17 15:26:36 +00:00
Matt Kraai
14b7c5d12b
Open the source before creating the destination.
2001-12-11 16:43:48 +00:00
Eric Andersen
b24d65659f
If find_pid_by_name() had an error, it was returning -1, but storing
...
that into a pid_t, which is unsigned on a number archs. Furthermore,
find_pid_by_name() would _never_ return an error if the intended proces
was "init", but instead would return 1, meaning we would fail to work
on 2.4.x kernels running an initrd...
-Erik
2001-12-06 14:52:32 +00:00
Eric Andersen
db930948a9
More copyright and email addr cleanups
2001-12-06 08:20:14 +00:00
Eric Andersen
463304edfd
Silly cosmetic problem in the comment
2001-12-06 08:04:45 +00:00
Aaron Lehmann
b9df470c4d
Commit my improvement on Rodney Brown's patch to g(un)zip, decreasing
...
binary size.
2001-12-06 03:22:43 +00:00
Glenn L McGrath
249f39a265
Simplify unzip(), remove unused checks and unneccessary variables
2001-12-05 16:01:02 +00:00
Glenn L McGrath
ef03dbcd4d
Simplify CRC table generation
2001-12-05 13:08:03 +00:00
Manuel Novoa III
3280f9a3fc
New version to cut size. Includes optional basename() compatibility, but
...
enabling that would break the basename applet at least for one corner case.
2001-12-05 04:35:32 +00:00
Glenn L McGrath
38288bbf4c
gunzip was incorrectly reporting a failed crc and length (discovered by
...
Chang, Shu-Hao). The bitbuffer needs to be unwound after decompression,
as it was eating into the crc/size field.
2001-11-29 06:36:56 +00:00
Matt Kraai
355a61b56f
Treat NUL as the end-of-line.
2001-11-20 15:49:50 +00:00
Matt Kraai
5c2bbb55d7
Remove unnecessary errno handling.
2001-11-12 18:44:26 +00:00
Eric Andersen
c223ced0ea
I forgot to add these. Part of the patch from vodz
2001-11-10 12:18:42 +00:00
Eric Andersen
cd8c436d81
Latest patch from vodz:
...
-- reverse resolve network name and cache in route and ifconfig
applets, fix print nslookup server name if compile without
uClibc, fix route crashe 'route add', fix warnings compile
networking and pwd_grp applets
2001-11-10 11:22:46 +00:00
Glenn L McGrath
60281118d0
Introduce od and hexdump applets
2001-11-02 11:39:46 +00:00
Eric Andersen
8e392922b0
Be extra pedantic about printing the correct type for an address
2001-10-27 03:28:53 +00:00
Glenn L McGrath
9f2f8540c5
rEcover from my previous commit
2001-10-25 14:59:48 +00:00
Glenn L McGrath
633f153808
Move libbb/unarchive functions to ./archival/libunarchive
2001-10-25 14:53:50 +00:00
Glenn L McGrath
0d2fb76c11
Modify applets to use libunarchive
2001-10-25 14:26:05 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
9260fc5552
Accomodate older glibc, which also lacks the module syscalls
2001-10-24 00:44:11 +00:00
Matt Kraai
bcca3317b5
Return NULL if EOF is encountered before terminating_string.
2001-10-18 17:04:22 +00:00
Eric Andersen
a0f0ae5a7a
Revert that change. As Matt Kraai rightly points out,
...
this is not a bug. What I was I thinking when I committed
this. Doh!
2001-10-18 06:04:23 +00:00
Eric Andersen
74400ccfd0
Scrub up some function prototypes.
...
-Erik
2001-10-18 04:11:39 +00:00
Eric Andersen
1bf25f0307
Patch from Stefan Soucek <ssoucek@coactive.com> to
...
ignore extra empty lines in fgets_str
2001-10-18 03:20:41 +00:00
Glenn L McGrath
4bef7b4186
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
2001-10-13 19:43:46 +00:00
Glenn L McGrath
527880e5cf
match exclude/include names with trailing '/'
2001-10-13 06:53:34 +00:00
Glenn L McGrath
b5937d3eea
Use fnmatch() to compare excluded/included files
2001-10-13 06:21:32 +00:00
Glenn L McGrath
9b2589dafd
Cleanup memory usage properly
2001-10-08 13:10:12 +00:00
Glenn L McGrath
dfa7b0eff6
Free some variables after use
2001-10-08 08:22:48 +00:00
Matt Kraai
4c557bf576
Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.
2001-10-05 01:35:10 +00:00
Matt Kraai
54a992d81e
Fix BB_FEATURE_MTAB_SUPPORT test (report and patch by Magnus Damm).
2001-10-04 15:23:34 +00:00
Glenn L McGrath
c5bd149261
List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
2001-09-24 18:34:06 +00:00
Manuel Novoa III
6a9d1f652b
Commit my changes to arith.c which fixed a couple of bugs and decreased
...
code size. Please read the TODO comments regarding accessing shell
variables from the arith() funciton.
2001-09-11 01:11:31 +00:00
Matt Kraai
5078919981
Use the correct buffer when calling dirname, improve an error message, and
...
plug some memory leaks. Patch by Laurence Anderson.
2001-08-28 22:57:38 +00:00
Matt Kraai
80f6d55836
Eliminate improper consts and allow standard version to override.
2001-08-24 20:35:45 +00:00
Matt Kraai
ac20ce1924
Canonicalize dirname(3) behavior.
2001-08-24 19:51:54 +00:00
Matt Kraai
2a953aed38
Fix a memory leak if parent directory creation failed.
2001-08-24 19:07:31 +00:00
Eric Andersen
c0f9d0dce7
Add #include <sys/param.h> to ensure PATH_MAX is defined
2001-08-22 05:35:39 +00:00
Eric Andersen
75220b55ff
dfp might be used uninitialized. NULL it.
2001-08-21 23:36:32 +00:00
Matt Kraai
0a68590314
Rewritten by Manuel Novoa III.
2001-08-14 17:10:08 +00:00
Matt Kraai
a7cecbc917
Commit Vladimir's simplify_path.
2001-08-10 15:05:27 +00:00
Glenn L McGrath
b373a8d0ca
Fix exclude list handling
2001-08-04 05:28:29 +00:00
Eric Andersen
be0c36009a
More libc5 fixups
...
-Erik
2001-08-02 10:55:32 +00:00
Eric Andersen
23b1e5c7df
Some libc5 cleanups
2001-08-02 09:58:41 +00:00
Eric Andersen
879d6c85af
make_directory used mode as if it were an signed entity, but in fact
...
it was a mode_t which is unsigned. Fix it to be signed...
-Erik
2001-08-02 09:58:19 +00:00
Eric Andersen
842757dc96
Oops. I forgot to commit this part of vodz' patch.
2001-08-02 05:18:55 +00:00
Eric Andersen
3450636169
Latest patch from vodz. Adds a check for divide by zero in the posix
...
math suport, cleaner math syntax error checking, moves redundant signal
string tables (from kill and ash) into libbb and provides a few
cleanups elsewhere.
2001-08-02 05:02:46 +00:00
Eric Andersen
74bcd16425
This incorporates Posix math support into ash. The Posix math support
...
was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This
patch makes a few trivial changes to Aaron's code so that it can be
used (in theory) by the other shells as well...
-Erik
2001-07-30 21:41:37 +00:00
Matt Kraai
439e3df653
Add support for devfs device names.
2001-07-23 14:52:08 +00:00
Eric Andersen
8d79ce8320
Some patches to make dietlibc work...
2001-07-22 23:00:15 +00:00
Eric Andersen
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
...
make busybox be more uClinux friendly. I also adjusted Config.h for
uClinux so it will automagically disable apps the arn't going to
work without fork() and such.
-Erik
2001-07-19 22:28:02 +00:00
Glenn L McGrath
c3fbec73fb
Change read_package_field interface, and rewrite using low level functions
...
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18 15:47:21 +00:00
Glenn L McGrath
8d3b0497a4
Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" and strip leading "./" on other files
2001-07-18 13:22:44 +00:00
Glenn L McGrath
6fc92a506a
Fail silently on failure to read tar header, its unfortunate that many tar implementations must be adding unwanted crap to the end of their archives.
...
It makes error reporting here more trouble than its worth
2001-07-18 03:23:10 +00:00
Eric Andersen
044228d5ec
This is vodz' latest patch. Sorry it took so long...
...
1) ping cleanup (compile fix from this patch already applied).
2) traceroute call not spare ntohl() now (and reduce size);
3) Fix for functions not declared static in insmod, ash, vi and mount.
4) a more simple API cmdedit :))
5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option
6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-17 01:12:36 +00:00
Glenn L McGrath
51ded05b3b
enum entry for unarchive to be used by tar
2001-07-14 12:38:55 +00:00
Glenn L McGrath
a868ec89e8
Allow the unarchive() extract_list variable to be NULL, meaning extract all
2001-07-14 08:49:53 +00:00
Glenn L McGrath
3d46224b78
Return NULL if file doesnt open in deb_extract
2001-07-13 18:16:57 +00:00
Glenn L McGrath
cfeb08a193
Make sure there is a trailing '\0' when extracting to buffer.
2001-07-13 17:59:48 +00:00
Glenn L McGrath
5e66a26eaa
Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
2001-07-13 06:51:56 +00:00
Glenn L McGrath
b028e08d35
Move setvbuf calls from gz_open() to calling functions, setvbuf is only supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-13 06:43:03 +00:00
Eric Andersen
7467c8d3b6
Patch from vodz:
...
Changed email address
cmdedit API change
optimizations for traceroute and md5sum
added a new shared create_icmp_socket() function
2001-07-12 20:26:32 +00:00
Glenn L McGrath
3e94f729a5
Quiet mode, sometimes error messages arent wanted
2001-07-12 10:24:57 +00:00
Glenn L McGrath
c127008840
Allow unarchive to redirect stdout (tobe used by dpkg applet)
2001-07-11 17:32:14 +00:00
Glenn L McGrath
481d19b38e
Fix bug where it wasnt returning the last line of a multiline field
2001-07-11 15:43:03 +00:00
Glenn L McGrath
daf0b78e1a
Reverse part of my previous changes
2001-07-11 15:32:52 +00:00
Glenn L McGrath
93febe672a
free coniditionally, just to make it play nice with dmalloc which is incompatable with standard free()
2001-07-11 07:25:01 +00:00
Glenn L McGrath
248c57ca43
minor dmalloc inspired cleanups
2001-07-11 07:22:17 +00:00
Eric Andersen
5a071bcbf2
Avoid a segfault (detected by Fabio Ferrari
...
<fabio.ferrari@digitro.com.br> in the wget applet) when
concat_path_file() or last_char_is() were fed a NULL.
-Erik
2001-07-07 04:27:35 +00:00
Matt Kraai
5009f90ea2
Removed obsolete function, strdup_substr.
2001-07-05 19:00:47 +00:00
Eric Andersen
8e75f6daa6
Fix a stupid thinko, and fix killall to cope with the updated
...
find_pid_by_name() interface
-Erik
2001-07-05 16:27:34 +00:00
Eric Andersen
d50a61956c
Implement suggestion from Adam Slattery, (don't default to killing closing bug #1190 .
2001-07-05 15:56:36 +00:00
Eric Andersen
0159597bd6
Generalize comment -- no longer ls specific
2001-06-30 18:08:36 +00:00
Manuel Novoa III
d877d44d12
All-integer version (but it does use an unsigned long long) which fixes
...
the problems of the previous version (used floating point, overflowed, didn't
round properly). The comments at the top of the file are worth reading;
especially note 2 concerning "ls -sh".
2001-06-30 07:40:44 +00:00
Manuel Novoa III
a2949aa217
Add some missing includes to kill warnings when building with the default
...
Config.h and using gcc's -fno-builtin. There are probably other files
with the similar problems.
Also, if building against uClibc, don't include asm/unistd.h in syscalls.c
and module_syscalls.c.
2001-06-29 18:59:32 +00:00
Eric Andersen
029b4a0422
Allow xrealloc to act as a free() when size=0, per SuS2.
...
-Erik
2001-06-28 21:22:19 +00:00
Eric Andersen
0d8cc1670c
Fix a type promotion bug discivered and analyzed by Alan Modra
...
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-27 06:15:50 +00:00
Eric Andersen
91a6318d55
Make it so we don't segfault when /proc isn't mounted -- guess pid 1...
...
-Erik
2001-06-26 22:44:09 +00:00
Eric Andersen
5ef5614c31
Don't use void * to pass pointers of known type
2001-06-26 16:36:26 +00:00
Glenn L McGrath
78b0e379d7
Vladimir's last_patch_15
2001-06-26 02:06:08 +00:00
Glenn L McGrath
2e6d3cfa82
Nore unarchive (and doc) fixes from Laurence Anderson
2001-06-24 12:36:54 +00:00
Glenn L McGrath
8f5b63edea
cpio applet, and changes to associated code
2001-06-22 09:22:06 +00:00
Matt Kraai
a0105713e8
Remove obsolete function declaration.
2001-06-22 04:20:24 +00:00
Eric Andersen
764303f980
stdlib.h defined free(), which this needs
2001-06-22 03:07:19 +00:00
Eric Andersen
30f1eafaaa
Fix the build process so it does not do the evil #ifdef BB_FOO stuff.
...
Build exactly one .o file per function, and let the linker throw away
the junk it doesn't want.
-Erik
2001-06-22 03:00:21 +00:00