Commit Graph

  • 3e310ac309 Applied patch from Larry Doolittle to give users the third option of putting buffers in BSS (in addition to stack and heap). Mark Whitley 2001-04-20 17:40:33 +00:00
  • 6ebd633829 Set permissions of created file Glenn L McGrath 2001-04-20 05:16:38 +00:00
  • 46cd74b9e3 This has two patches. First it moves interface.c to libbb (it is 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. Eric Andersen 2001-04-19 16:55:27 +00:00
  • 3ce79338e6 Fix buffer underrun noted and solved by Larry Doolittle. Matt Kraai 2001-04-19 14:56:23 +00:00
  • 0a3bda2c53 Move real_loop.h to libbb, where it belongs. -Erik Eric Andersen 2001-04-18 22:23:22 +00:00
  • b5ec61e4f5 Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org> Eric Andersen 2001-04-18 20:17:05 +00:00
  • 53265546a6 Eliminate spurious warning, convert to getopt, and eliminate redundant check. Matt Kraai 2001-04-18 16:05:34 +00:00
  • 96dcd19b8a Fix a number of problems with argument handling. Matt Kraai 2001-04-18 15:54:09 +00:00
  • 54652230d4 Eliminate a segfault when called on an existing file with out an extension: touch foo && gunzip foo Matt Kraai 2001-04-18 15:51:45 +00:00
  • b181056e06 Eliminated seeks so that we work correctly on pipes, and removed reliance on undefined evaluation ordering. Thanks to Anthony Towns for explanation and solution. Matt Kraai 2001-04-18 14:49:55 +00:00
  • bcfeb2ac44 Fix zcat/gunzip when reading from stdin Glenn L McGrath 2001-04-18 13:34:09 +00:00
  • 2771d1a574 - updated busybox_header.pod by adding adjtimex to the list. - a new busybox.pod that reflects my fixes, and todays patches to usage.h John Beppu 2001-04-17 23:57:23 +00:00
  • fccaa3629b Applied patch from I.Q. to add sort -u as a feature. Mark Whitley 2001-04-17 18:56:18 +00:00
  • 6e808ca354 Changed line[strlen(line) - 1] = '\0'; to chomp(line); Mark Whitley 2001-04-17 18:26:11 +00:00
  • 30ac01cca7 Applied a patch from Laurence Anderson to fix the wget statusbar and a patch to usage.h to document the -q option. Mark Whitley 2001-04-17 18:13:16 +00:00
  • 3828dbed57 Applied patch from I.Q. to fix problem with sort -n. Mark Whitley 2001-04-17 17:47:33 +00:00
  • 31868b85be Added some help messages. Mark Whitley 2001-04-17 17:37:47 +00:00
  • 59a86cad67 The tiniest of bracket-placement fixes. Mark Whitley 2001-04-17 17:30:44 +00:00
  • 5d81768cf1 - usage.h o echo_example_usage needed to escape some backslashes in an inner quote o find_full_usage missing a \n at the end of the -name line ? getopt_full_usage the -o line has tab issues, but I didn't fix them. o length_example_usage removed some double-quotes that were within an inner quotes o printf_example_usage needed to escape a backslash in an inner quote o sort_example_usage needed to escape some backslashes and double quotes in an inner quote o tftp_full_usage s/nameing/naming/; o umount_full_usage remove colons after options for consistency w/ other full_usage messages o uniq_example_usage needed to escape some backslashes and double quotes in an inner quote John Beppu 2001-04-17 17:09:34 +00:00
  • a3045dfd25 Convert mount to use getopt. Matt Kraai 2001-04-17 04:48:51 +00:00
  • 1240082e37 Further cleanup of mount option handling. Matt Kraai 2001-04-17 04:32:50 +00:00
  • 24ed3bee0c Fix -a support (broken by previous patch). Matt Kraai 2001-04-17 04:26:05 +00:00
  • 3d406da0c9 Fix segfault on `mount -t nfs' reported by Gratien D'haese. Matt Kraai 2001-04-17 04:22:22 +00:00
  • 1c0d311ff4 Several fixes from Sterling Huxley for the vi applet. Eric Andersen 2001-04-16 15:46:44 +00:00
  • ae1c704c44 Write full status file Glenn L McGrath 2001-04-16 10:26:46 +00:00
  • 33431ebb9a dpkg improvements, use full package struct, avoid extracting to tmp dir, rename variable. deb_extract, untar and dpkg_deb modified to make the above possible Glenn L McGrath 2001-04-16 04:52:19 +00:00
  • 3136904ff6 Document new dpkg-deb funtions Glenn L McGrath 2001-04-15 12:53:24 +00:00
  • 685f5fd6f4 untar changed to allow deb_extract to extract to memory, allows better operation of dpkg-deb -f Glenn L McGrath 2001-04-15 12:51:59 +00:00
  • a529d885d2 NEw functions read_package_field and read_text_file_to_buffer Glenn L McGrath 2001-04-15 12:50:15 +00:00
  • 5faef74bae Reads a field from a debian control (status or available) file, handles multi-line fields. Glenn L McGrath 2001-04-15 12:38:12 +00:00
  • 65708e4cd1 Read a FILE* till an empty line or eof and return it as a char buffer. In future maybe add char *end_str to interface to allow calling function to specify end point. Glenn L McGrath 2001-04-15 12:36:19 +00:00
  • 4a2e463525 Handle endian-ness. Patch from Paul J.Y. Lahaie <pjlahaie@linuxcare.com> -Erik Eric Andersen 2001-04-14 03:33:33 +00:00
  • 0f50bca9aa Fix infinite loop and reallocate if too many modules. Matt Kraai 2001-04-13 14:40:15 +00:00
  • 445fb952b8 dpkg-deb -f and partial -I commands, adds 600 bytes Glenn L McGrath 2001-04-13 04:02:57 +00:00
  • 1e04ea388f Fix dos2unix/tr problem noted by Larry Doolittle. Matt Kraai 2001-04-12 21:38:06 +00:00
  • d6cde0bcf4 Fix return code and don't output spurious newlines. Matt Kraai 2001-04-12 20:51:01 +00:00
  • 4ef40c02f4 Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>. Matt Kraai 2001-04-12 20:44:21 +00:00
  • 8fc364ebd5 Fix comment. Matt Kraai 2001-04-12 20:12:16 +00:00
  • 6ba1a80c26 Use date -u instead of date --utc and consolidate version string. Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>. Matt Kraai 2001-04-12 20:11:55 +00:00
  • 5a65413c04 Updates, fixes for handling contents, verbose extract. More updates to come Glenn L McGrath 2001-04-12 16:40:21 +00:00
  • 47fd219c95 Rename variable that shadows global Glenn L McGrath 2001-04-12 16:37:13 +00:00
  • be66ad3212 Fix handling of '' and "". Matt Kraai 2001-04-12 15:42:17 +00:00
  • 3e2ab88ee2 New dpkg-deb function -t, stands for --fsys-tarfile Glenn L McGrath 2001-04-12 13:49:09 +00:00
  • c9cac5be23 Change size to unsinged long long, so if -1 is passed it will read as much as possible. Glenn L McGrath 2001-04-12 13:47:12 +00:00
  • 6785b51280 dpkg-deb -c works now Glenn L McGrath 2001-04-12 11:48:02 +00:00
  • 359c106871 Fix dpkg-deb, enum's are cool Glenn L McGrath 2001-04-12 10:19:08 +00:00
  • 46079a1d77 remove unused clearerr statements Glenn L McGrath 2001-04-12 10:17:22 +00:00
  • 327175137f This belongs in dos2unix.c Glenn L McGrath 2001-04-12 02:29:34 +00:00
  • a6ce670a87 use tmpfile() and revert my previous changes... convert() belongs here Glenn L McGrath 2001-04-12 02:26:04 +00:00
  • 2709297f3b dos2unix and unix2dos are now independent Glenn L McGrath 2001-04-12 00:55:05 +00:00
  • 50b787cac5 Move convert to libbb Glenn L McGrath 2001-04-12 00:52:29 +00:00
  • a283157c38 convert() is used by dos2unix and unix2dos Glenn L McGrath 2001-04-12 00:49:26 +00:00
  • c8d9e0604a Moved from dos2unix Glenn L McGrath 2001-04-12 00:42:53 +00:00
  • da160c0da5 Use putc, and write to stderr as the rest of the progressmeter does. Matt Kraai 2001-04-11 20:11:51 +00:00
  • 90d7f696d6 Only finish with a newline if we are displaying the progress indicator. Matt Kraai 2001-04-11 20:07:27 +00:00
  • 65317ea27f Fix behavior when extracting to stdout. Report and patch by Evin Robertson <nitfol@my-deja.com>. Matt Kraai 2001-04-11 20:03:01 +00:00
  • ed897e5415 Vladimir's patch to reverse previous patch Glenn L McGrath 2001-04-11 17:20:44 +00:00
  • 2975a34f23 readTarFile changed from exter nto static Glenn L McGrath 2001-04-11 16:49:07 +00:00
  • b3f23d4c6a Seek to start of an entry inside an ar file Glenn L McGrath 2001-04-11 16:31:20 +00:00
  • 988be100e2 dpkg, dpkg_deb dont depend on any other applets now Glenn L McGrath 2001-04-11 16:25:45 +00:00
  • 4949faf4b2 copy_file_chunk uses streams now. Glenn L McGrath 2001-04-11 16:23:35 +00:00
  • 5b20d02ea9 This is primarily to allow deb_extract to be independent of the tar applet. TODO: This function and its conterpart in tar.c should be merged Glenn L McGrath 2001-04-11 16:14:24 +00:00
  • 9e966ffed4 Remove unneeded printf statment Glenn L McGrath 2001-04-11 15:11:48 +00:00
  • f70f6cef39 Disable sigterm Glenn L McGrath 2001-04-11 15:09:30 +00:00
  • 48081f81bd replace getOctal with strtol( , NULL, 8) saves 100 Bytes Glenn L McGrath 2001-04-11 05:01:09 +00:00
  • 7dc8d227a5 dpkg only dependeds on tar Glenn L McGrath 2001-04-11 03:47:45 +00:00
  • 528ef50a4a Gzip is indepenedent of gunzip Glenn L McGrath 2001-04-11 03:45:37 +00:00
  • a12131966c Remove dpkg-deb applet dependencies, still depends on tar Glenn L McGrath 2001-04-11 03:27:06 +00:00
  • 7fd92949d0 Move unzip, gz_open, gz_close to libbb Glenn L McGrath 2001-04-11 03:11:33 +00:00
  • d22e560ad6 Move deb_extract() to libbb, dpkg now independent of dpkg-deb Glenn L McGrath 2001-04-11 02:12:08 +00:00
  • 9d53c8ab74 Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c Glenn L McGrath 2001-04-11 01:37:03 +00:00
  • 93ffa950bf Put in a paragraph break Eric Andersen 2001-04-10 22:10:42 +00:00
  • efcfe874ea Added a chart of busybox's growth by Larry Doolittle and put a news announcement for it on the main page. Mark Whitley 2001-04-10 21:58:32 +00:00
  • 0958093be6 Doc update for the 0.51 release. -Erik Eric Andersen 2001-04-10 20:10:55 +00:00
  • 3c3430502a Fix up changelog for 0.51 release Eric Andersen 2001-04-10 20:10:14 +00:00
  • b04d744a47 Bring Debian config files into sync with the master one. Eric Andersen 2001-04-10 20:07:19 +00:00
  • e703f7ed42 Ha. Regression testing found a bug with uClibc support. Fixed. -Erik Eric Andersen 2001-04-10 19:03:03 +00:00
  • b9af894264 Fix up the uClibc compiler name (its format was recently changed slightly) Eric Andersen 2001-04-10 18:35:02 +00:00
  • 6d7fa438a7 This patch from Laurence Anderson <laurence@zxmail.com> fixes wget HTTP 1.1 support and addes chunked encoding so bb wget is now fully RFC compliant. Eric Andersen 2001-04-10 18:17:05 +00:00
  • fd402941a7 Patch from Valdimir to reduce stack usage, since recursive_action is (as the name implies) is recursive, reducing stack memory usage is important to avoid exhausting available stack memory. Eric Andersen 2001-04-10 17:53:49 +00:00
  • 4e853560f5 Fix double quote handling. Matt Kraai 2001-04-10 00:00:05 +00:00
  • 2f2da90fd4 "I will always compile before I commit" x 100 Eric Andersen 2001-04-09 23:54:15 +00:00
  • b6b519b416 Update how we detect if libc5 is in use. -Erik Eric Andersen 2001-04-09 23:52:18 +00:00
  • d3f97f1971 Fix warning generated by pod2html about unterminated list. Matt Kraai 2001-04-09 23:27:51 +00:00
  • 303dd28bb0 Make 'grep -l' work Eric Andersen 2001-04-09 23:26:31 +00:00
  • 4391a16c92 Fixed option parsing. Grep would continue grepping, even when given a bad / invalid option. Closes bug #1146. Mark Whitley 2001-04-09 23:00:07 +00:00
  • e5dfced23a Apply Vladimir's latest cleanup patch. -Erik Eric Andersen 2001-04-09 22:48:12 +00:00
  • a75e286743 Bump version number to 0.51 Eric Andersen 2001-04-09 22:18:14 +00:00
  • 59aa5703ae Enable freeramdisk and pivot_root, disable lash for the Debian .udeb -Erik Eric Andersen 2001-04-09 22:17:10 +00:00
  • fc994d1cb4 make sure we auto-close debian bug #91758 -Erik Eric Andersen 2001-04-09 22:15:27 +00:00
  • 7cf9fed83f update the changelog, prepatory to the 0.51 release. Please review for correctness! -Erik Eric Andersen 2001-04-09 22:09:41 +00:00
  • 3f8688b406 Update changelog Eric Andersen 2001-04-09 19:00:29 +00:00
  • 5d6f3440e6 use 'USE_SYSTEM_PWD_GRP=false' for the Debian packages so the boot-floppies do not need any of the nss crap installed. As was, things like 'id' would fail. Fixed now (with thanks to Matt Kraai for his help). -Erik Eric Andersen 2001-04-09 18:42:52 +00:00
  • 305fdfa755 Reorganise status field to use 3 chars instead of one bit shifted long int. Generates status file properly now, not compatable with full dpkg yet. Glenn L McGrath 2001-04-08 13:27:39 +00:00
  • 37849f3320 Use create_path instead of mkdir Glenn L McGrath 2001-04-08 07:23:53 +00:00
  • 13e9c7ad82 It now correctly backs up the (still corrupt) status file Glenn L McGrath 2001-04-08 07:18:08 +00:00
  • 0e757a2f3f Some fixes, but still broken... (cont) Make better use of some libbb functions New remove dir code to avoid depending on the rm applet dont use copy_file() it doesnt fail elegantly Use getopt. Generate correct /var/lib/dpkg/info/ files Status file is broken, working on it now Glenn L McGrath 2001-04-08 05:27:18 +00:00
  • f608da4288 Ignore SIGTERM prior to gz_close() Glenn L McGrath 2001-04-07 02:40:59 +00:00
  • e5f3957665 Fix warning Glenn L McGrath 2001-04-07 02:17:36 +00:00
  • 8a9b2c6448 Note that insmod now also supports powerpc and mips. Thanks Larry. Eric Andersen 2001-04-06 22:02:49 +00:00