aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2001-04-20Set permissions of created fileGlenn L McGrath
2001-04-19This has two patches. First it moves interface.c to libbb (it isEric Andersen
support code after all). It also contains a patch from Larry Doolittle that removes two instances of "strlen([^)]*) *- *1", un-shadows two variables, relaxes requirement for a sprintf(3) that returns number of bytes written, and eliminates a duplicate subroutine.
2001-04-18Move real_loop.h to libbb, where it belongs.Eric Andersen
-Erik
2001-04-18Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>Eric Andersen
2001-04-18Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai
undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
2001-04-16dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath
rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
2001-04-15untar changed to allow deb_extract to extract to memory, allows better ↵Glenn L McGrath
operation of dpkg-deb -f
2001-04-15Reads a field from a debian control (status or available) file, handles ↵Glenn L McGrath
multi-line fields.
2001-04-15Read a FILE* till an empty line or eof and return it as a char buffer.Glenn L McGrath
In future maybe add char *end_str to interface to allow calling function to specify end point.
2001-04-13dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath
2001-04-12Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai
2001-04-12Updates, fixes for handling contents, verbose extract.Glenn L McGrath
More updates to come
2001-04-12New dpkg-deb function -t, stands for --fsys-tarfileGlenn L McGrath
2001-04-12Change size to unsinged long long, so if -1 is passed it will read as much ↵Glenn L McGrath
as possible.
2001-04-12dpkg-deb -c works nowGlenn L McGrath
2001-04-12Fix dpkg-deb, enum's are coolGlenn L McGrath
2001-04-12remove unused clearerr statementsGlenn L McGrath
2001-04-12This belongs in dos2unix.cGlenn L McGrath
2001-04-12convert() is used by dos2unix and unix2dosGlenn L McGrath
2001-04-12Moved from dos2unixGlenn L McGrath
2001-04-11Seek to start of an entry inside an ar fileGlenn L McGrath
2001-04-11copy_file_chunk uses streams now.Glenn L McGrath
2001-04-11This is primarily to allow deb_extract to be independent of the tar applet.Glenn L McGrath
TODO: This function and its conterpart in tar.c should be merged
2001-04-11Remove unneeded printf statmentGlenn L McGrath
2001-04-11Disable sigtermGlenn L McGrath
2001-04-11Move unzip, gz_open, gz_close to libbbGlenn L McGrath
2001-04-11Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath
2001-04-11Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath
2001-04-10Doc update for the 0.51 release.Eric Andersen
-Erik
2001-04-10Patch from Valdimir to reduce stack usage, since recursive_actionEric Andersen
is (as the name implies) is recursive, reducing stack memory usage is important to avoid exhausting available stack memory.
2001-04-09Update how we detect if libc5 is in use.Eric Andersen
-Erik
2001-04-09Apply Vladimir's latest cleanup patch.Eric Andersen
-Erik
2001-04-05more FILE_OFFSET_BITS == 64 adjustments.Eric Andersen
2001-04-05A first pass at making D_FILE_OFFSET_BITS=64 work, fromEric Andersen
Jari Ruusu <jari.ruusu@pp.inet.fi>
2001-04-05Handle glibc 2.0.7 as wellEric Andersen
2001-04-05Be more generic for libc5. We don't need to know struct definitionsEric Andersen
to make the syscall finction -- use a generic pointer instead.
2001-04-05Another iteration -- adjust the init_module syscall a bit.Eric Andersen
-Erik
2001-04-05*** empty log message ***Eric Andersen
2001-04-05Some further syscall adjustments. Split the module syscalls out ofEric Andersen
insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-04-04Patch from Larry Doolittle to eliminate needless thrashingEric Andersen
about when trimming long strings with lots of trailing white space.
2001-04-04Fix a warning with libc5.Eric Andersen
-Erik
2001-04-04Seems that stupid libc5 doesn't implement daemon(), so conditionallyEric Andersen
inclde that here. -Erik
2001-04-03Place a temporary bandaid on the ls/du/df human-readable issue. This method isEric Andersen
not going to scale up as well as I would like, and Matt Kraai and I have discussed a better long term solution. But for now this will at least make all the human-readable apps give correct answers. Please test the human readable/non-human readable options on your systems!!! -Erik
2001-04-03if strlen(s) was 0, it would then end up using s[-1] as an array index. Bad,Eric Andersen
bad, bad. This was crashing the shell on powerpc boxes, though all other archs seem to have a much more forgiving malloc implementations. I finally found this bug using electric-fence on a powerpc box. -Erik
2001-04-01Move the mtab support stuff into libbbEric Andersen
-Erik
2001-03-28Patch bass ackwards behavior of hr flag.Matt Kraai
2001-03-28Rewrite to fix bug #1140 and make it slightly smaller.Matt Kraai
2001-03-23includes cleanup from Jeff GarzikEric Andersen
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.