aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵aldot2005-10-073-4/+4
| | | | | | | | | | ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later). git-svn-id: svn://busybox.net/trunk/busybox@11797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-291-6/+2
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop gcc4 from nit-picking about signedness of char *.landley2005-09-251-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename libbb's password helpers as suggested in libbb.haldot2005-09-202-4/+4
| | | | | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug git-svn-id: svn://busybox.net/trunk/busybox@11515 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Berhnard Fischer to keep duplicate objects out of the library.landley2005-09-141-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11461 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove unrequired dependencesvodz2005-09-142-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11460 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup patch by Bernhard Fischer, removing unnecessary includes oflandley2005-09-118-17/+9
| | | | | | | getopt.h, whitespace changes, typos, etc. git-svn-id: svn://busybox.net/trunk/busybox@11422 69ca8d6d-28ef-0310-b511-8ec308f3f277
* typo, thanks, Bernhard Fischervodz2005-09-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11344 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 1) bb_opt_complementaly -> bb_opt_complementallyvodz2005-09-053-9/+5
| | | | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally git-svn-id: svn://busybox.net/trunk/busybox@11332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug 383: attempting to "tar c /" would error out because strippinglandley2005-09-011-1/+1
| | | | | | | trailing / turns that into an empty string. git-svn-id: svn://busybox.net/trunk/busybox@11311 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Anand Avati hit an integer overflow problem in our unzip code.landley2005-08-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11299 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't comment warnings, _FIX_ warnings. (And putting in #warnings aboutlandley2005-08-301-48/+22
| | | | | | | | | other warnings is just gross.) On a side note, while I was there, I made the code slightly smaller. git-svn-id: svn://busybox.net/trunk/busybox@11292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dirk Clemens pointed out how easy it is to support bzip2 compression, since welandley2005-08-301-18/+15
| | | | | | | shell out to an external program to handle gzip anyway... git-svn-id: svn://busybox.net/trunk/busybox@11284 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer says: use xmalloc() instead of malloc()vapier2005-08-163-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11168 69ca8d6d-28ef-0310-b511-8ec308f3f277
* punt unused variablevapier2005-07-301-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10979 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tell people to ignore the save_name warningvapier2005-07-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename the accept/reject names since accept overrides the accept() socket ↵vapier2005-07-301-6/+6
| | | | | | function git-svn-id: svn://busybox.net/trunk/busybox@10974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-272-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-221-0/+2
| | | | | | | | | | 0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files. git-svn-id: svn://busybox.net/trunk/busybox@10900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fixes from: pgf2005-07-202-223/+414
| | | | | | | | 0000142: unzip enhancements git-svn-id: svn://busybox.net/trunk/busybox@10887 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying fix for:pgf2005-07-201-0/+10
| | | | | | | 0000262: tar -x doesn't believe it has reached the end of archive git-svn-id: svn://busybox.net/trunk/busybox@10882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵vapier2005-05-113-3/+3
| | | | | | (BB_GETOPT_ERROR) git-svn-id: svn://busybox.net/trunk/busybox@10289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* abort if user passes -r or if they dont pass anythingvapier2005-05-091-3/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add comments about ignoring some warnings which are OKvapier2005-04-231-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix printf warningvapier2005-04-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bernhard Fischer to make a bunch of symbols staticandersen2005-04-164-40/+41
| | | | | | | which were otherwise cluttering the global namespace. git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In Bug 208, bernhardf writes:vapier2005-04-162-8/+8
| | | | | | | | | On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure. git-svn-id: svn://busybox.net/trunk/busybox@10113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bandaid to make "gzip file1 file2 ..." set the decompression lengths correctlymjn32005-03-021-0/+1
| | | | | | | in the 2nd and later headers. But this and gunzip really need to be rewritten. git-svn-id: svn://busybox.net/trunk/busybox@9951 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When filling the bit buffer, gzip decompression apparently never checked for ↵mjn32005-03-011-1/+4
| | | | | | end of file, causing it to hang on corrupted input. git-svn-id: svn://busybox.net/trunk/busybox@9950 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Takeharu KATO writes:andersen2005-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Hi, I found that gcc in cvs (HEAD in 2005/02/11) reject the gzip source in the busybox. This is caused by changing gcc's error handling behavior( The gcc check the function prototype more strictly). I show the compilation log as follow: -- compilation log -- compilation log To fix the problem, apply the patch which is attached with this mail. Please take a look the patch and apply the patch into svn repository. git-svn-id: svn://busybox.net/trunk/busybox@9849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor in-passing crapectomy.landley2004-12-171-26/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9569 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't document compiler warnings. _FIX_ compiler warnings.landley2004-11-161-12/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make certain clients of bb_make_directory default to honoringandersen2004-10-131-1/+1
| | | | | | | the user's umask git-svn-id: svn://busybox.net/trunk/busybox@9413 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-084-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it more apparent that archive creation is not supportedandersen2004-10-071-6/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9309 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup some warningsandersen2004-08-282-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito writes:andersen2004-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, I've spent the half night staring at the devilish my_getpwuid and my_getgrgid functions trying to find out a way to avoid actual and future potential buffer overflow problems without breaking existing code. Finally I've found a not intrusive way to do this that surely doesn't break existing code and fixes a couple of problems too. The attached patch: 1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows 2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h. 3) The behaviour of tar, ls and logger is unchanged. 4) The behavior of ps with somewhat longer usernames messing up output is fixed. 5) The only bigger change was the increasing of size of the buffers in id.c to avoid false negatives (unknown user: xxxxxx) with usernames longer than 8 chars. The value i used ( 32 chars ) was taken from the tar header ( see gname and uname). Maybe this buffers can be reduced a bit ( to 16 or whatever ), this is up to you. 6) The increase of size of the binary is not so dramatic: size busybox text data bss dec hex filename 239568 2300 36816 278684 4409c busybox size busybox_fixed text data bss dec hex filename 239616 2300 36816 278732 440cc busybox 7) The behaviour of whoami changed: actually it prints out an username cut down to the size of the buffer. This could be fixed by increasing the size of the buffer as in id.c or avoid the use of my_getpwuid and use getpwuid directly instead. Maybe this colud be also remain unchanged...... Please apply if you think it is ok to do so. The diff applies on today's cvs tarball (2004-08-25). Thanks in advance, Ciao, Tito git-svn-id: svn://busybox.net/trunk/busybox@9165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* BusyBox has no business hard coding the number of major and minor bits for aandersen2004-07-263-12/+9
| | | | | | | | | | | | dev_t. This is especially important now that the user space concept of a dev_t and the kernel concept of a dev_t are divergant. The only bit of user space allowed to know the number of major and minor bits is include/sys/sysmacros.h (i.e. part of libc). When used with a current C library and a 2.6.x kernel, this fix should allow BusyBox to support wide device major/minor numbers. -Erik git-svn-id: svn://busybox.net/trunk/busybox@9015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup -T (--files-from) option, works for non-directories nowbug12004-07-211-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8989 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update reference for zip formatbug12004-06-061-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8888 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Steve Grubb writes:andersen2004-05-051-2/+2
| | | | | | | | | | | | | | Hello, I found and patched 2 more bugs. The first is a misplaced semi-colon. The second one is a buffer overflow. I doubt the buffer overflow is triggered in real life. But you never know what those wily hackers are up to. Thanks, Steve Grubb git-svn-id: svn://busybox.net/trunk/busybox@8804 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix symlink handling and small memory leakbug12004-04-291-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update my email address, document some of my tasks in the AUTHORS filebug12004-04-255-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry Doolittle writes:andersen2004-04-148-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry git-svn-id: svn://busybox.net/trunk/busybox@8759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a comment explaining why we have to check for an extra \nbug12004-04-091-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename uncompress.c to decompress_uncompress.candersen2004-04-053-1279/+4
| | | | | | | rename unzip.c to decompress_unzip.c git-svn-id: svn://busybox.net/trunk/busybox@8685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add missing include filesandersen2004-03-271-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@8665 69ca8d6d-28ef-0310-b511-8ec308f3f277
* s/fileno\(stdin\)/STDIN_FILENO/gandersen2004-03-278-17/+17
| | | | | | | s/fileno\(stdout\)/STDOUT_FILENO/g git-svn-id: svn://busybox.net/trunk/busybox@8663 69ca8d6d-28ef-0310-b511-8ec308f3f277