aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
2005-10-12new featured bb_opt_complementally, correct argc checking"Vladimir N. Oleynik"
2005-10-11There doesn't seem to be a standard header for makedev(), but this is close.Rob Landley
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
2005-10-10bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3."Vladimir N. Oleynik"
e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
2005-10-07- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵Bernhard Reutner-Fischer
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).
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-25Stop gcc4 from nit-picking about signedness of char *.Rob Landley
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
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
2005-09-14Patch from Berhnard Fischer to keep duplicate objects out of the library.Rob Landley
2005-09-14remove unrequired dependences"Vladimir N. Oleynik"
2005-09-11Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley
getopt.h, whitespace changes, typos, etc.
2005-09-06typo, thanks, Bernhard Fischer"Vladimir N. Oleynik"
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-01Fix for bug 383: attempting to "tar c /" would error out because strippingRob Landley
trailing / turns that into an empty string.
2005-08-31Anand Avati hit an integer overflow problem in our unzip code.Rob Landley
2005-08-30Don't comment warnings, _FIX_ warnings. (And putting in #warnings aboutRob Landley
other warnings is just gross.) On a side note, while I was there, I made the code slightly smaller.
2005-08-30Dirk Clemens pointed out how easy it is to support bzip2 compression, since weRob Landley
shell out to an external program to handle gzip anyway...
2005-08-16Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger
2005-07-30punt unused variableMike Frysinger
2005-07-30tell people to ignore the save_name warningMike Frysinger
2005-07-30rename the accept/reject names since accept overrides the accept() socket ↵Mike Frysinger
function
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-22applying fix for:Paul Fox
0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files.
2005-07-20applying fixes from: Paul Fox
0000142: unzip enhancements
2005-07-20applying fix for:Paul Fox
0000262: tar -x doesn't believe it has reached the end of archive
2005-05-11change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger
(BB_GETOPT_ERROR)
2005-05-09abort if user passes -r or if they dont pass anythingMike Frysinger
2005-04-23add comments about ignoring some warnings which are OKMike Frysinger
2005-04-20fix printf warningMike Frysinger
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
2005-03-02Bandaid to make "gzip file1 file2 ..." set the decompression lengths correctlyManuel Novoa III
in the 2nd and later headers. But this and gunzip really need to be rewritten.
2005-03-01When filling the bit buffer, gzip decompression apparently never checked for ↵Manuel Novoa III
end of file, causing it to hang on corrupted input.
2005-02-11Takeharu KATO writes:Eric Andersen
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.
2004-12-17Minor in-passing crapectomy.Rob Landley
2004-11-16Don't document compiler warnings. _FIX_ compiler warnings.Rob Landley
2004-10-13Make certain clients of bb_make_directory default to honoringEric Andersen
the user's umask
2004-10-08egor duda writes:Eric Andersen
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
2004-10-07Make it more apparent that archive creation is not supportedEric Andersen
2004-08-28Fixup some warningsEric Andersen
2004-08-26Tito writes:Eric Andersen
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
2004-07-26BusyBox has no business hard coding the number of major and minor bits for aEric Andersen
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
2004-07-21Fixup -T (--files-from) option, works for non-directories nowGlenn L McGrath
2004-06-06Update reference for zip formatGlenn L McGrath
2004-05-05Steve Grubb writes:Eric Andersen
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
2004-04-29Fix symlink handling and small memory leakGlenn L McGrath
2004-04-25Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath
2004-04-14Larry Doolittle writes:Eric Andersen
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