aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Oops. I was a bit too hasty and also changed applet_name.andersen2001-04-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Made new xreadlink function for libbb and changed applets to use it instead ofmarkw2001-04-303-10/+38
| | | | | | | readlink(2). git-svn-id: svn://busybox.net/trunk/busybox@2495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* These messages can be .rodata, so make them even more const.andersen2001-04-302-25/+25
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix user permissions of copied directories.kraai2001-04-301-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2491 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify permission handling for FIFOs.kraai2001-04-301-12/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2490 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exit status when there is an error copying a file.kraai2001-04-301-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Terminate source correctly when copying symlink. Report and patch bykraai2001-04-271-2/+3
| | | | | | | Brian Webb <webbb@desertscenes.net>. git-svn-id: svn://busybox.net/trunk/busybox@2478 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another nice cleanup from Larry. This adds a new last_char_is() function andandersen2001-04-262-0/+34
| | | | | | | | | uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2450 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb.h now includes ../busybox.h. This way, files in libbb that havemarkw2001-04-252-1/+5
| | | | | | | | BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting this. git-svn-id: svn://busybox.net/trunk/busybox@2439 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a BB_MTAB #define buglet reported by Magnus Damm.markw2001-04-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2434 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-255-15/+73
| | | | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote rm.kraai2001-04-242-0/+128
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use generic flag names.kraai2001-04-242-14/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move applet_name declaration from busybox.h to libbb.h.kraai2001-04-244-5/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite cp and mv to be SUSv2 compliant.kraai2001-04-232-145/+198
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reversed last patch; unnecessary.markw2001-04-231-4/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2406 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a sanity check to fix weird bug exposed when sourcing in commands from amarkw2001-04-231-1/+5
| | | | | | | file with lash. Based on report from Heinz Walter. git-svn-id: svn://busybox.net/trunk/busybox@2404 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify file_prefix handling, and use of *dir variable.bug12001-04-231-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix horrible, horrible memmory leak. I wondered why processes were dying !bug12001-04-211-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2397 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clearly define out exclude list code, as recommended by Larry Doolittlebug12001-04-211-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2396 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Set permissions of created filebug12001-04-201-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This has two patches. First it moves interface.c to libbb (it isandersen2001-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. git-svn-id: svn://busybox.net/trunk/busybox@2379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move real_loop.h to libbb, where it belongs.andersen2001-04-181-0/+37
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2374 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>andersen2001-04-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2371 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminated seeks so that we work correctly on pipes, and removed reliance onkraai2001-04-181-2/+9
| | | | | | | | undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution. git-svn-id: svn://busybox.net/trunk/busybox@2366 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg improvements, use full package struct, avoid extracting to tmp dir, ↵bug12001-04-163-25/+59
| | | | | | | | | rename variable. deb_extract, untar and dpkg_deb modified to make the above possible git-svn-id: svn://busybox.net/trunk/busybox@2350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* untar changed to allow deb_extract to extract to memory, allows better ↵bug12001-04-153-40/+48
| | | | | | operation of dpkg-deb -f git-svn-id: svn://busybox.net/trunk/busybox@2348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reads a field from a debian control (status or available) file, handles ↵bug12001-04-151-0/+31
| | | | | | multi-line fields. git-svn-id: svn://busybox.net/trunk/busybox@2346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Read a FILE* till an empty line or eof and return it as a char buffer.bug12001-04-151-0/+38
| | | | | | | | In future maybe add char *end_str to interface to allow calling function to specify end point. git-svn-id: svn://busybox.net/trunk/busybox@2345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg-deb -f and partial -I commands, adds 600 bytesbug12001-04-133-34/+46
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dos2unix/tr problem noted by Larry Doolittle.kraai2001-04-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2341 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates, fixes for handling contents, verbose extract.bug12001-04-121-16/+15
| | | | | | | More updates to come git-svn-id: svn://busybox.net/trunk/busybox@2336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New dpkg-deb function -t, stands for --fsys-tarfilebug12001-04-122-13/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change size to unsinged long long, so if -1 is passed it will read as much ↵bug12001-04-122-4/+8
| | | | | | as possible. git-svn-id: svn://busybox.net/trunk/busybox@2332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg-deb -c works nowbug12001-04-121-22/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2331 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dpkg-deb, enum's are coolbug12001-04-123-57/+62
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2330 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove unused clearerr statementsbug12001-04-121-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2329 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This belongs in dos2unix.cbug12001-04-121-106/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2328 69ca8d6d-28ef-0310-b511-8ec308f3f277
* convert() is used by dos2unix and unix2dosbug12001-04-121-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved from dos2unixbug12001-04-121-0/+106
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Seek to start of an entry inside an ar filebug12001-04-111-0/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2317 69ca8d6d-28ef-0310-b511-8ec308f3f277
* copy_file_chunk uses streams now.bug12001-04-115-188/+177
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2315 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is primarily to allow deb_extract to be independent of the tar applet.bug12001-04-111-0/+200
| | | | | | | TODO: This function and its conterpart in tar.c should be merged git-svn-id: svn://busybox.net/trunk/busybox@2314 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unneeded printf statmentbug12001-04-111-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Disable sigtermbug12001-04-111-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2312 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move unzip, gz_open, gz_close to libbbbug12001-04-113-0/+1063
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move deb_extract() to libbb, dpkg now independent of dpkg-debbug12001-04-112-1/+123
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2306 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.cbug12001-04-112-0/+130
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Doc update for the 0.51 release.andersen2001-04-101-0/+15
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Valdimir to reduce stack usage, since recursive_actionandersen2001-04-101-10/+5
| | | | | | | | is (as the name implies) is recursive, reducing stack memory usage is important to avoid exhausting available stack memory. git-svn-id: svn://busybox.net/trunk/busybox@2295 69ca8d6d-28ef-0310-b511-8ec308f3f277