Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						7499918f30 
					 
					
						
						
							
							If filename is a '-' then read from stdin to stdout  
						
						 
						
						
						
						
					 
					
						2001-07-30 04:48:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						81108e7653 
					 
					
						
						
							
							Cleanup (most) memory leaks  
						
						 
						
						
						
						
					 
					
						2001-07-19 12:15:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						c3fbec73fb 
					 
					
						
						
							
							Change read_package_field interface, and rewrite using low level functions  
						
						 
						
						... 
						
						
						
						Fixes for a few bugs that have crept into dpkg in the last few days 
						
						
					 
					
						2001-07-18 15:47:21 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						778041f8d1 
					 
					
						
						
							
							Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command  
						
						 
						
						
						
						
					 
					
						2001-07-18 05:17:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						ed4492a697 
					 
					
						
						
							
							More feedback to user  
						
						 
						
						
						
						
					 
					
						2001-07-18 05:03:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						7b0241579c 
					 
					
						
						
							
							Be more verbose when configureing package, minor changes  
						
						 
						
						
						
						
					 
					
						2001-07-18 04:33:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						4cdc607f72 
					 
					
						
						
							
							Use xfopen to abort on error to prevent segfaulting later.  
						
						 
						
						
						
						
					 
					
						2001-07-18 03:13:49 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						044228d5ec 
					 
					
						
						
							
							This is vodz' latest patch.  Sorry it took so long...  
						
						 
						
						... 
						
						
						
						1) ping cleanup (compile fix from this patch already applied).
    2) traceroute call not spare ntohl() now (and reduce size);
    3) Fix for functions not declared static in insmod, ash, vi and mount.
    4) a more simple API cmdedit :))
    5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option
    6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) 
						
						
					 
					
						2001-07-17 01:12:36 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						a868ec89e8 
					 
					
						
						
							
							Allow the unarchive() extract_list variable to be NULL, meaning extract all  
						
						 
						
						
						
						
					 
					
						2001-07-14 08:49:53 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						58a5bd187d 
					 
					
						
						
							
							Tolerate fields with no data, e.g. "Depends: "  
						
						 
						
						
						
						
					 
					
						2001-07-14 06:25:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						ccd65c9be6 
					 
					
						
						
							
							Total rewrite, uses hash tables for speed and low memory use.  
						
						 
						
						
						
						
					 
					
						2001-07-13 18:35:24 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						5e66a26eaa 
					 
					
						
						
							
							Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt  
						
						 
						
						
						
						
					 
					
						2001-07-13 06:51:56 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						26a0d9a945 
					 
					
						
						
							
							Call setvbuf from here isntead of gz_open for compatability with uclibc  
						
						 
						
						
						
						
					 
					
						2001-07-13 06:49:18 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						b028e08d35 
					 
					
						
						
							
							Move setvbuf calls from gz_open() to calling functions, setvbuf is only supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.  
						
						 
						
						
						
						
					 
					
						2001-07-13 06:43:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						c127008840 
					 
					
						
						
							
							Allow unarchive to redirect stdout (tobe used by dpkg applet)  
						
						 
						
						
						
						
					 
					
						2001-07-11 17:32:14 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						93febe672a 
					 
					
						
						
							
							free coniditionally, just to make it play nice with dmalloc which is incompatable with standard free()  
						
						 
						
						
						
						
					 
					
						2001-07-11 07:25:01 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						59e50f634a 
					 
					
						
						
							
							Unpack the filename not the package name  
						
						 
						
						
						
						
					 
					
						2001-07-11 03:30:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						5710f9f690 
					 
					
						
						
							
							Read 20 512-byte blocks at a time (like GNU tar).  
						
						 
						
						
						
						
					 
					
						2001-07-10 15:05:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						807bda4a24 
					 
					
						
						
							
							Minor update to include file ordering  
						
						 
						
						
						
						
					 
					
						2001-07-07 08:13:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						623cfa99e5 
					 
					
						
						
							
							Remove a redundant call to mkdir.  
						
						 
						
						
						
						
					 
					
						2001-07-03 20:55:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						3073dfbf30 
					 
					
						
						
							
							Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton of  
						
						 
						
						... 
						
						
						
						portability junk from gzip.c, making it a zillion times more readable. 
						
						
					 
					
						2001-07-02 17:57:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Manuel Novoa III  
							
						 
					 
					
						
						
							
						
						a2949aa217 
					 
					
						
						
							
							Add some missing includes to kill warnings when building with the default  
						
						 
						
						... 
						
						
						
						Config.h and using gcc's -fno-builtin.  There are probably other files
with the similar problems.
Also, if building against uClibc, don't include asm/unistd.h in syscalls.c
and module_syscalls.c. 
						
						
					 
					
						2001-06-29 18:59:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						0d8cc1670c 
					 
					
						
						
							
							Fix a type promotion bug discivered and analyzed by Alan Modra  
						
						 
						
						... 
						
						
						
						<amodra@bigpond.net.au >, which caused false checksum errors 
						
						
					 
					
						2001-06-27 06:15:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						f8736d251e 
					 
					
						
						
							
							rpm2cpio applet by Laurence Anderson  
						
						 
						
						
						
						
					 
					
						2001-06-26 01:19:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						24982c589b 
					 
					
						
						
							
							Fix up some warnings that show up on ppc  
						
						 
						
						
						
						
					 
					
						2001-06-25 19:31:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						2e6d3cfa82 
					 
					
						
						
							
							Nore unarchive (and doc) fixes from Laurence Anderson  
						
						 
						
						
						
						
					 
					
						2001-06-24 12:36:54 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						8f5b63edea 
					 
					
						
						
							
							cpio applet, and changes to associated code  
						
						 
						
						
						
						
					 
					
						2001-06-22 09:22:06 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tim Riker 
							
						 
					 
					
						
						
							
						
						837097648e 
					 
					
						
						
							
							comment cleanup  
						
						 
						
						
						
						
					 
					
						2001-06-22 00:27:11 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						ceeff73819 
					 
					
						
						
							
							Rewrote mkdir (and touched lots of things in the process).  
						
						 
						
						
						
						
					 
					
						2001-06-21 19:41:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						091781e20e 
					 
					
						
						
							
							Support tar -C, per bug  #1176  
						
						 
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-06-21 19:30:10 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						ea4abff595 
					 
					
						
						
							
							Add in (and ignore) tar -p, since we preserver permissions automatically.  
						
						 
						
						... 
						
						
						
						closes bug #1185 
 -Erik 
						
						
					 
					
						2001-06-21 15:17:59 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						aff5e2eaef 
					 
					
						
						
							
							it turs out, there was a nasty tar bug where bb tar would create leading dirs  
						
						 
						
						... 
						
						
						
						with mode 0777 in all cases due to usask issues.  Thanks to Matt Kraai for
noticing and spotting the culprit.  This makes bb tar behave just like GNU
tar once again.
 -Erik 
						
						
					 
					
						2001-06-20 20:47:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						06a71cced2 
					 
					
						
						
							
							Initialise in_file to stdin, so it wont crash if no source specified  
						
						 
						
						
						
						
					 
					
						2001-06-20 08:07:34 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						8e74bf94f3 
					 
					
						
						
							
							Changed gz_open to ruturn a stream  
						
						 
						
						
						
						
					 
					
						2001-06-20 07:54:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						eb1c94078f 
					 
					
						
						
							
							Reorganise unarchiving functions, more code re-use, only does single pass(no more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this.  
						
						 
						
						... 
						
						
						
						It effects ar, dpkg-deb applets only 
						
						
					 
					
						2001-06-20 07:48:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						9aff903603 
					 
					
						
						
							
							Reorganise archive extraction code  
						
						 
						
						
						
						
					 
					
						2001-06-13 07:26:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						cb2a372c9f 
					 
					
						
						
							
							Revert the patch from Konstantin Boldyshev <konst@linuxassembly.org> to never  
						
						 
						
						... 
						
						
						
						change permissions on existing directories.  This behavior is contrary to SUSv2
and contrary to GNU tar.  Thanks to Matt Kraai for pointing this out.  I should
have been much more careful about accepting such a patch.
 -Erik 
						
						
					 
					
						2001-06-04 16:54:39 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						5a9d441b2c 
					 
					
						
						
							
							Fix up some signed char vs int issues that show up on powerpc.  
						
						 
						
						
						
						
					 
					
						2001-05-24 14:16:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						77d9268892 
					 
					
						
						
							
							Patch from larry to fix some grammar errors.  
						
						 
						
						
						
						
					 
					
						2001-05-23 20:32:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						117231c44f 
					 
					
						
						
							
							Make - read compressed data from stdin (thanks to Marius Groeger).  
						
						 
						
						
						
						
					 
					
						2001-05-22 14:23:02 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						7f7348b7b2 
					 
					
						
						
							
							Correctly remove leading slashes upon extraction (thanks to Marius Groeger).  
						
						 
						
						
						
						
					 
					
						2001-05-22 14:18:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						7cedac567c 
					 
					
						
						
							
							Remove unused function.  If necessary, we can use remove_file instead.  
						
						 
						
						
						
						
					 
					
						2001-05-17 04:03:22 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						59df6f7398 
					 
					
						
						
							
							Change 'printf("%s\n", ...)' into 'puts(...)'.  Noted and patched in hostname.c  
						
						 
						
						... 
						
						
						
						by Larry Doolittle. 
						
						
					 
					
						2001-05-16 14:21:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						a17b3631fe 
					 
					
						
						
							
							Do not ever change permissions on existing directories, only  
						
						 
						
						... 
						
						
						
						on directories we created while extracting a tarball.  Fix
based on bug report and patch from Konstantin Boldyshev
<konst@linuxassembly.org >
 -Erik 
						
						
					 
					
						2001-05-13 15:39:30 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						28355a36da 
					 
					
						
						
							
							Per some comments from Lars Kellogg-Stedman <lars@larsshack.org>,  
						
						 
						
						... 
						
						
						
						make xreadlink() return NULL on failure, and make sure everyone
uses the interface correctly.
 -Erik 
						
						
					 
					
						2001-05-07 17:48:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						713b398700 
					 
					
						
						
							
							woops, forgot the break statment  
						
						 
						
						
						
						
					 
					
						2001-05-07 12:06:37 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						5bcfc9ba1a 
					 
					
						
						
							
							Tolerate -q argument, if -q is passed give a warning and continue rather than just fail  
						
						 
						
						
						
						
					 
					
						2001-05-07 12:01:58 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						e0244b0642 
					 
					
						
						
							
							Skip headers with empty filenames, rather than stopping.  
						
						 
						
						
						
						
					 
					
						2001-05-01 21:12:31 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						8a633268ef 
					 
					
						
						
							
							Made new xreadlink function for libbb and changed applets to use it instead of  
						
						 
						
						... 
						
						
						
						readlink(2). 
						
						
					 
					
						2001-04-30 18:17:00 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Glenn L McGrath 
							
						 
					 
					
						
						
							
						
						af166e7ce0 
					 
					
						
						
							
							Logic reversal for last_char_is  
						
						 
						
						
						
						
					 
					
						2001-04-29 00:50:33 +00:00