summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Clearly define out exclude list code, as recommended by Larry DoolittleGlenn L McGrath2001-04-211-4/+5
|
* Set permissions of created fileGlenn L McGrath2001-04-201-0/+1
|
* This has two patches. First it moves interface.c to libbb (it isEric Andersen2001-04-191-0/+2129
| | | | | | | 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.
* Move real_loop.h to libbb, where it belongs.Eric Andersen2001-04-181-0/+37
| | | | -Erik
* Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>Eric Andersen2001-04-181-2/+2
|
* Eliminated seeks so that we work correctly on pipes, and removed reliance onMatt Kraai2001-04-181-2/+9
| | | | | undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution.
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵Glenn L McGrath2001-04-163-25/+59
| | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible
* untar changed to allow deb_extract to extract to memory, allows better ↵Glenn L McGrath2001-04-153-40/+48
| | | | operation of dpkg-deb -f
* Reads a field from a debian control (status or available) file, handles ↵Glenn L McGrath2001-04-151-0/+31
| | | | multi-line fields.
* Read a FILE* till an empty line or eof and return it as a char buffer.Glenn L McGrath2001-04-151-0/+38
| | | | | In future maybe add char *end_str to interface to allow calling function to specify end point.
* dpkg-deb -f and partial -I commands, adds 600 bytesGlenn L McGrath2001-04-133-34/+46
|
* Fix dos2unix/tr problem noted by Larry Doolittle.Matt Kraai2001-04-121-1/+1
|
* Updates, fixes for handling contents, verbose extract.Glenn L McGrath2001-04-121-16/+15
| | | | More updates to come
* New dpkg-deb function -t, stands for --fsys-tarfileGlenn L McGrath2001-04-122-13/+24
|
* Change size to unsinged long long, so if -1 is passed it will read as much ↵Glenn L McGrath2001-04-122-4/+8
| | | | as possible.
* dpkg-deb -c works nowGlenn L McGrath2001-04-121-22/+18
|
* Fix dpkg-deb, enum's are coolGlenn L McGrath2001-04-123-57/+62
|
* remove unused clearerr statementsGlenn L McGrath2001-04-121-2/+0
|
* This belongs in dos2unix.cGlenn L McGrath2001-04-121-106/+0
|
* convert() is used by dos2unix and unix2dosGlenn L McGrath2001-04-121-0/+5
|
* Moved from dos2unixGlenn L McGrath2001-04-121-0/+106
|
* Seek to start of an entry inside an ar fileGlenn L McGrath2001-04-111-0/+17
|
* copy_file_chunk uses streams now.Glenn L McGrath2001-04-115-188/+177
|
* This is primarily to allow deb_extract to be independent of the tar applet.Glenn L McGrath2001-04-111-0/+200
| | | | TODO: This function and its conterpart in tar.c should be merged
* Remove unneeded printf statmentGlenn L McGrath2001-04-111-1/+0
|
* Disable sigtermGlenn L McGrath2001-04-111-3/+3
|
* Move unzip, gz_open, gz_close to libbbGlenn L McGrath2001-04-113-0/+1063
|
* Move deb_extract() to libbb, dpkg now independent of dpkg-debGlenn L McGrath2001-04-112-1/+123
|
* Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cGlenn L McGrath2001-04-112-0/+130
|
* Doc update for the 0.51 release.0_51Eric Andersen2001-04-101-0/+15
| | | | -Erik
* Patch from Valdimir to reduce stack usage, since recursive_actionEric Andersen2001-04-101-10/+5
| | | | | is (as the name implies) is recursive, reducing stack memory usage is important to avoid exhausting available stack memory.
* Update how we detect if libc5 is in use.Eric Andersen2001-04-092-6/+3
| | | | -Erik
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-095-52/+133
| | | | -Erik
* more FILE_OFFSET_BITS == 64 adjustments.Eric Andersen2001-04-051-1/+1
|
* A first pass at making D_FILE_OFFSET_BITS=64 work, fromEric Andersen2001-04-051-2/+2
| | | | Jari Ruusu <jari.ruusu@pp.inet.fi>
* Handle glibc 2.0.7 as wellEric Andersen2001-04-051-1/+1
|
* Be more generic for libc5. We don't need to know struct definitionsEric Andersen2001-04-051-1/+1
| | | | to make the syscall finction -- use a generic pointer instead.
* Another iteration -- adjust the init_module syscall a bit.Eric Andersen2001-04-051-35/+9
| | | | -Erik
* *** empty log message ***Eric Andersen2001-04-051-3/+27
|
* Some further syscall adjustments. Split the module syscalls out ofEric Andersen2001-04-052-36/+113
| | | | | | insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-052-12/+61
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* Patch from Larry Doolittle to eliminate needless thrashingEric Andersen2001-04-041-3/+3
| | | | | about when trimming long strings with lots of trailing white space.
* Fix a warning with libc5.Eric Andersen2001-04-041-0/+1
| | | | -Erik
* Seems that stupid libc5 doesn't implement daemon(), so conditionallyEric Andersen2001-04-042-0/+105
| | | | | inclde that here. -Erik
* Place a temporary bandaid on the ls/du/df human-readable issue. This method isEric Andersen2001-04-031-19/+28
| | | | | | | | | 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
* if strlen(s) was 0, it would then end up using s[-1] as an array index. Bad,Eric Andersen2001-04-031-4/+5
| | | | | | | 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
* Move the mtab support stuff into libbbEric Andersen2001-04-012-0/+147
| | | | -Erik
* Patch bass ackwards behavior of hr flag.Matt Kraai2001-03-282-11/+14
|
* Rewrite to fix bug #1140 and make it slightly smaller.Matt Kraai2001-03-281-26/+14
|
* includes cleanup from Jeff GarzikEric Andersen2001-03-234-0/+4
|