Commit Graph

  • e39ee01821 Fix tar hard links Glenn L McGrath 2003-11-27 00:01:43 +00:00
  • fea4b446df Important bugfixes from Ian Campbell. init_archive_deb_data() We want to filter for data.tar.* in the AR file not the TAR file, else we get nothing. Glenn L McGrath 2003-11-26 21:53:37 +00:00
  • 4ddddd180e Fix for "Broken pipe" issue, vodz last_patch116_3 Glenn L McGrath 2003-11-25 20:45:38 +00:00
  • c3498f678a When a size of 0 is passed to copyfd_size, dont do anything, it was reading untill eof which breaks tar Glenn L McGrath 2003-11-24 23:50:07 +00:00
  • f0515dad66 Fix warning Glenn L McGrath 2003-11-22 02:13:41 +00:00
  • 7ffe133864 As we no longer use function pointers for read in common archiving code archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend. Glenn L McGrath 2003-11-21 22:24:57 +00:00
  • 1a2d75fd72 Use safe read Glenn L McGrath 2003-11-21 22:17:28 +00:00
  • d0550d8fc9 Fix warning Glenn L McGrath 2003-11-21 21:54:07 +00:00
  • acbdc47aac Make use of libbb functions bb_xopen, bb_full_read, used #define's instead of static consts, avoid xmalloc. Glenn L McGrath 2003-11-21 09:27:02 +00:00
  • 2cd1eb16ad Remove unused function Glenn L McGrath 2003-11-20 22:36:57 +00:00
  • 78cd84da8a Dont over-read fd, use function pointer for hash function. Glenn L McGrath 2003-11-20 21:30:58 +00:00
  • e857122c97 Fix tar-handles-nested-exclude testcase Glenn L McGrath 2003-11-20 10:47:06 +00:00
  • d9c8ab40a4 Update status of tests which should pass Glenn L McGrath 2003-11-20 09:57:44 +00:00
  • 3a2fcc63b8 remove controversial tests Glenn L McGrath 2003-11-20 09:56:34 +00:00
  • bebc40b406 Check at least one context is specified Glenn L McGrath 2003-11-20 09:53:31 +00:00
  • ba49651de9 Check there are files to add the archive before removing a specified tar file. Glenn L McGrath 2003-11-20 09:06:10 +00:00
  • 90c9df93f3 Dont attempt to unlink directories Glenn L McGrath 2003-11-20 08:00:38 +00:00
  • 0413af0e27 Superficial changes Glenn L McGrath 2003-11-20 06:27:33 +00:00
  • 5c069aaf2f Fix up the -s option, and make usage consitent with behaviour, patch by Steven Scholz Glenn L McGrath 2003-11-20 05:58:26 +00:00
  • d85421de22 Include stdint.h Glenn L McGrath 2003-11-20 05:26:38 +00:00
  • 931ae9d2f8 woops, we needed that function Glenn L McGrath 2003-11-18 23:56:41 +00:00
  • 0c5d9c27a5 COMPRESS, not UNCOMPRESS Glenn L McGrath 2003-11-18 23:27:49 +00:00
  • 7370f62493 Update usage for tar -Z Glenn L McGrath 2003-11-18 21:49:23 +00:00
  • 0b6539f7f9 Update md5sum, sha1sum options, patch by Steven Scholz Glenn L McGrath 2003-11-18 21:40:30 +00:00
  • 56f16b42c9 tar -Z, uncompress support Glenn L McGrath 2003-11-18 21:37:52 +00:00
  • 20872be9a4 Dont close original file handle, we may need it later. Glenn L McGrath 2003-11-18 21:31:19 +00:00
  • 3b9fc8fe2a Make unlink old files default behaviour and add a new option -k to prevent overwritting existing files Glenn L McGrath 2003-11-18 20:23:04 +00:00
  • de3ea9f049 Only use getopt and associated flags if checking is enabled Glenn L McGrath 2003-11-18 19:35:06 +00:00
  • aee0fd8320 Replaced by md5_sha1_sum.c Glenn L McGrath 2003-11-18 19:33:13 +00:00
  • 303b7d83f0 Replaced by md5_sha1_sum.c Glenn L McGrath 2003-11-18 18:56:25 +00:00
  • f074afc2a0 Dont free filename, its needed in the extracted files list. Glenn L McGrath 2003-11-17 21:58:00 +00:00
  • cccf49fb0f This was made obsolete by config-udeb-linux-i386 Glenn L McGrath 2003-11-17 10:46:36 +00:00
  • 7e4b3347b2 Remove net-udeb flavour, we dotn use it Glenn L McGrath 2003-11-17 10:43:08 +00:00
  • 0874a613d2 Use the PROG variable instead of 'busybox' in the release target Glenn L McGrath 2003-11-17 10:26:43 +00:00
  • 8dc8cb133c Fix a bug where cpio wouldnt work unless -u was specified Glenn L McGrath 2003-11-15 23:44:31 +00:00
  • 5699b8525e Move from read_gz to the pipe()+fork() method. open_transformer(), common code for pipe+fork. Function pointer for read() no longer needed. Allow inflate to be initialised with a specified buffer size to avoid over-reading. Reset static variables in inflate_get_next_window to fix a bug where only the first file in a .zip would be be extracted. Glenn L McGrath 2003-11-15 23:19:05 +00:00
  • 54ac057c00 Fix memory leaks Glenn L McGrath 2003-11-15 00:24:43 +00:00
  • 5c2c8eca4a Fix a "broken pipe" problem. vodz, last_patch_116-2 Glenn L McGrath 2003-11-14 21:01:26 +00:00
  • e57feeb9e6 Keep trying to find a good header, if we exit it will cause .tar.gz files to compute incorrect crc and length for gzip Glenn L McGrath 2003-11-14 12:57:14 +00:00
  • eba86e2adb Catch unsupported features Glenn L McGrath 2003-11-14 12:53:42 +00:00
  • e9080c9f41 NEW APPLET: pipe_progress, used by debian installer Glenn L McGrath 2003-11-14 10:04:33 +00:00
  • 7b215b99b2 Fix build error with tar -j Glenn L McGrath 2003-11-14 09:22:24 +00:00
  • 1a41db8eaf Remove some tar_gz stuff that get dragged in Glenn L McGrath 2003-11-14 09:21:27 +00:00
  • 94cf153c2b Remove debugging noise. Glenn L McGrath 2003-11-14 08:30:46 +00:00
  • d09bcecda8 Read in blocks rather than one char at a time, greatly improves speed Glenn L McGrath 2003-11-14 08:26:25 +00:00
  • 5f28455c6e Oskar Liljeblad writes: Eric Andersen 2003-11-14 03:11:29 +00:00
  • b6e58d2b9a Michael Smith writes: Eric Andersen 2003-11-14 03:04:08 +00:00
  • c16686c1e2 Ulrich Marx writes: Eric Andersen 2003-11-14 03:00:04 +00:00
  • 61b038accc Steven Seeger writes: Eric Andersen 2003-11-14 02:49:19 +00:00
  • 8211db5af0 Vladimir N. Oleynik (vodz) writes: Eric Andersen 2003-11-14 02:44:28 +00:00
  • e0c83af4ce Marc Kleine-Budde noticed a missing semicolon Eric Andersen 2003-11-14 02:40:08 +00:00
  • d2a897aab0 Merge common parts of sha1sum and md5sum, which is everything except the algorithms. Move algorithms to hash_fd and make them available via a common function. Glenn L McGrath 2003-11-10 04:33:55 +00:00
  • 0bdf41ad7e Add some basic cvs usage info Eric Andersen 2003-11-08 00:33:02 +00:00
  • bbce615c7e Rob Landley writes: Eric Andersen 2003-11-08 00:23:23 +00:00
  • 2849209db2 Patch from Steven Scholz to send the output from 'time' to stderr, rather than stdout, so that things like Eric Andersen 2003-11-07 21:39:14 +00:00
  • 28d4e16cd7 This appears to be the correct fix to make CONFIG_FEATURE_DEB_TAR_BZ2 support compile. Glenn, you may want to verify this. -Erik Eric Andersen 2003-11-07 21:31:58 +00:00
  • d2160aaeab fix comment Eric Andersen 2003-11-07 21:22:09 +00:00
  • b1ffba0401 wrap bb help output if CONFIG_FEATURE_AUTOWIDTH Tim Riker 2003-11-07 19:37:20 +00:00
  • 1b1942f93d As vodz pointed out, setting unset_env to NULL is sufficient Eric Andersen 2003-11-07 11:20:21 +00:00
  • 7f9de02ca6 Rewrite, 800+ bytes smaller and more robust. Glenn L McGrath 2003-11-06 03:17:23 +00:00
  • 5912acb670 By popular demand, revert to version 1.21, since Rules.mak:1.22 causes the build to ignore CROSS_COMPILER_PREFIX set in .config Eric Andersen 2003-11-05 11:34:26 +00:00
  • 2685724e23 Fix tar -j support Use the old fork() method of tar compression support, rather than read_bz2.... - (*uncompress)(int in, int out) seems like a more natural interface for compression code. - it might improve performance by seperating the work into one cpu bound and one io bound process. - There is extra code required to do read_[gz|bunzip] since (*uncompress)(int in, int out) will normally be used by the standalone compression applet. Glenn L McGrath 2003-11-05 04:55:58 +00:00
  • 6d687817a8 Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling Eric Andersen 2003-11-04 23:16:48 +00:00
  • b7077a7316 Set unset_env pointing to a NULL item, to prevent us from walking off the end of the list and segfaulting. -Erik Eric Andersen 2003-11-03 22:46:14 +00:00
  • 04d055f4e1 Fix rdate and ftpget/ftpput so they compile with the new xconnect. I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work. Eric Andersen 2003-11-03 21:20:18 +00:00
  • f6067beaa9 Avoid conflicts with the 2.6 kernel headers, which define _IOR rather differently, thereby breaking the BLKGETSIZE64 ioctl. -Erik Eric Andersen 2003-11-03 08:59:51 +00:00
  • e6dc439b3a Rework wget, the xconnect interface, and its various clients in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html Eric Andersen 2003-10-31 09:31:46 +00:00
  • 8179cf2b78 Put back the tar support stubs (and warnings) for now. Eric Andersen 2003-10-31 08:52:57 +00:00
  • 252183e3f5 Try to make indent formatting less horrible Eric Andersen 2003-10-31 08:19:44 +00:00
  • e64bf409dd Patch from David Meggy to make the swap default to the new version if no version is specified and the kernel is relatively new. Glenn L McGrath 2003-10-31 02:04:18 +00:00
  • 4ef5a84583 Move the tail -c option from FANCY_TAIL to the default tail, this makes the default tail options conform to SUSv3, with the non-SUS option all in FANCY_TAIL Glenn L McGrath 2003-10-31 00:35:59 +00:00
  • 0120be94a0 Fix stupid typo Eric Andersen 2003-10-31 00:21:28 +00:00
  • 9716575f1a Remove config options for sort -u and sort -r, they are always enabled Glenn L McGrath 2003-10-31 00:04:24 +00:00
  • 40c9489d33 Add a comment with link to the SUSv3 standard for xargs Glenn L McGrath 2003-10-30 22:51:33 +00:00
  • 09c295a5bc run through indent Glenn L McGrath 2003-10-30 22:47:16 +00:00
  • 00ed36fd52 Patch from Dmitry Zakharov, Fixes two bugs: - END block didn't execute after an exit() call - huge memory consumption and performance degradation on large input (now performance is comparable to gawk) Glenn L McGrath 2003-10-30 13:36:39 +00:00
  • b8b6816f7b make certain values specified in the environment always win Eric Andersen 2003-10-30 07:48:38 +00:00
  • f4fd3a1331 Accept the -c option and do nothing Glenn L McGrath 2003-10-29 11:10:02 +00:00
  • 984b45142a fix a bug where `which' doesn't check whether the file passed as an argument is a regular file, patch by Arthur Othieno Glenn L McGrath 2003-10-29 04:50:35 +00:00
  • 6530f0d3a1 make CONFIG_FEATURE_UNARCHIVE_TAPE common between itar and cpio, patch by Arthur Othieno Glenn L McGrath 2003-10-29 04:46:30 +00:00
  • 4636aa9dcd "A few references to sourcefiles and URLs in docs/contributing.txt had gone stale" - Peter Korsgaard Glenn L McGrath 2003-10-29 03:40:47 +00:00
  • f235d05773 Use the return value from uncompress_bunzip, fix some typo Glenn L McGrath 2003-10-29 03:37:54 +00:00
  • 1c834407e3 Add some error messages, use xmalloc instead of malloc Glenn L McGrath 2003-10-28 23:32:12 +00:00
  • debb21ece7 Fix a logic error, the old bunzip code returned non-zero for success, new code returns 0 for success. Glenn L McGrath 2003-10-28 23:04:50 +00:00
  • e81fc5fb30 Conditionally compile some files. This hides a bug related to the new bunzip code in the tar and dpkg[-deb] applets. It will also reduce compile time a little as some unused files wont be compiled. Glenn L McGrath 2003-10-28 10:44:58 +00:00
  • 5fa4db29f7 Another bzip2 update and speedup from Manuel Novoa III, with some additional changes (primarily lots of comments) from Rob Landley. Eric Andersen 2003-10-23 06:52:01 +00:00
  • 2053a8c747 the dc applet now needs libm -Erik Eric Andersen 2003-10-22 22:29:08 +00:00
  • e78fe2414b sigh Eric Andersen 2003-10-22 11:36:55 +00:00
  • a92877403a Goetz Bock writes: Eric Andersen 2003-10-22 11:24:39 +00:00
  • a48b0a3af7 last_patch116 from vodz: Eric Andersen 2003-10-22 10:56:47 +00:00
  • 514633bf3f Tomasz Motylewski reported that the 'which' applet does not find files when the full file PATH is specified. Eric Andersen 2003-10-22 10:38:22 +00:00
  • 7f6295f516 Patch from Arthur Othieno for style-guide.txt conformance Eric Andersen 2003-10-22 10:34:15 +00:00
  • 28672dd3b9 Patch from Arthur Othieno for docs/style-guide.txt conformance. Eric Andersen 2003-10-22 10:30:53 +00:00
  • 9ef6c93090 Patch from Arthur Othieno to fix a compiler warning Eric Andersen 2003-10-22 10:26:38 +00:00
  • 976a55e168 make this a little bit less messy Eric Andersen 2003-10-22 10:23:04 +00:00
  • f1d3ac429e Update mail location Eric Andersen 2003-10-22 10:19:01 +00:00
  • 637d2266e1 Disable any buffering to stdout Eric Andersen 2003-10-22 10:18:24 +00:00
  • 5289969f08 Tito writes: Eric Andersen 2003-10-22 10:10:50 +00:00
  • 88c916bdec Andreas Mohr writes: Eric Andersen 2003-10-22 09:58:56 +00:00
  • 951df20b7e Do a better job of dealing with screwy s390 abi changes Eric Andersen 2003-10-21 06:45:29 +00:00