Eric Andersen 
							
						 
					 
					
						
						
							
						
						bdfd0d78bc 
					 
					
						
						
							
							Major rework of the directory structure and the entire build system.  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-10-24 05:00:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						bb9579ffc3 
					 
					
						
						
							
							Make formatting match GNU ls (we were including a spare ' ')  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-07-31 22:43:50 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						8d79ce8320 
					 
					
						
						
							
							Some patches to make dietlibc work...  
						
						
						
						
					 
					
						2001-07-22 23:00:15 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						20aab260e2 
					 
					
						
						
							
							Some adjustments, mostly from David McCullough <davidm@lineo.com> to  
						
						... 
						
						
						
						make busybox be more uClinux friendly.  I also adjusted Config.h for
uClinux so it will automagically disable apps the arn't going to
work without fork() and such.
 -Erik 
						
						
					 
					
						2001-07-19 22:28:02 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						7e516797f9 
					 
					
						
						
							
							Pad the human readable output for 'ls -sh' to 6 chars, since we will  
						
						... 
						
						
						
						have numbers printed as XXX.YU, so we need 6 digits not 4.
 -Erik 
						
						
					 
					
						2001-06-30 18:00:26 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Novoa III  
							
						 
					 
					
						
						
							
						
						a77cfbfd0c 
					 
					
						
						
							
							ls -s was reporting bytes instead of blocks.  
						
						
						
						
					 
					
						2001-06-30 07:46:50 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						24982c589b 
					 
					
						
						
							
							Fix up some warnings that show up on ppc  
						
						
						
						
					 
					
						2001-06-25 19:31:48 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						f429baca86 
					 
					
						
						
							
							I reworked make_human_readable_str so it now has a sane interface,  
						
						... 
						
						
						
						and then fixed up df, du, and ls to use the new interface.  I also
fixed up some formatting issues in ls while I was in there.
 -Erik 
						
						
					 
					
						2001-06-13 08:02:45 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						77d9268892 
					 
					
						
						
							
							Patch from larry to fix some grammar errors.  
						
						
						
						
					 
					
						2001-05-23 20:32:09 +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 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						782ab3ccf8 
					 
					
						
						
							
							Simplify pathname building, in which a bug was noted by Larry Doolittle,  
						
						... 
						
						
						
						a patch was provided by Vladimir Oleynik, and am improved patch commited
by me. 
						
						
					 
					
						2001-04-23 01:07:00 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						250a221768 
					 
					
						
						
							
							more FILE_OFFSET_BITS == 64 adjustments.  
						
						
						
						
					 
					
						2001-04-05 23:26:44 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						e76c3b08e1 
					 
					
						
						
							
							A number of cleanups.  Now compiles with libc5, glibc, and uClibc.  Fix a few  
						
						... 
						
						
						
						shadowed variables.  Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
 -Erik 
						
						
					 
					
						2001-04-05 03:14:39 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						91c9388715 
					 
					
						
						
							
							Place a temporary bandaid on the ls/du/df human-readable issue.  This method is  
						
						... 
						
						
						
						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 
						
						
					 
					
						2001-04-03 23:14:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						c835567914 
					 
					
						
						
							
							Fix ls so it uses make_human_readable_str() the same way already  
						
						... 
						
						
						
						used by 'du' and 'df'.  Now we just need to fix make_human_readable_str
so it behaves they way it used to before Matt fixed it. 
						
						
					 
					
						2001-03-28 20:26:51 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						9a2144663a 
					 
					
						
						
							
							Applied patch from David Douthitt to fix problem where ls reports half the  
						
						... 
						
						
						
						file size. Should close bug #1140 . 
						
						
					 
					
						2001-03-27 20:59:14 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						3e6ff9017f 
					 
					
						
						
							
							A cleanup patch from Jeff Garzik to static-ify a number of  
						
						... 
						
						
						
						namespace polluting things that really should be static. 
						
						
					 
					
						2001-03-09 21:24:12 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						ae5612ca6e 
					 
					
						
						
							
							Some minor cleanups to df.c. Also, with Erik's blessing, changed name of  
						
						... 
						
						
						
						'format' function to 'make_human_readable_str'. 
						
						
					 
					
						2001-03-07 17:42:07 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						651f8c04ef 
					 
					
						
						
							
							Fix up ls.c to ensure human readable works properly in all cases  
						
						
						
						
					 
					
						2001-03-07 03:48:02 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						8b728a25a3 
					 
					
						
						
							
							I made these little simplifications a while back, bug forgot to  
						
						... 
						
						
						
						check this stuff in.
 -Erik 
						
						
					 
					
						2001-03-06 23:14:43 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						f1142c5b11 
					 
					
						
						
							
							Oops.  Put time.h after busybox.h, so we can check for BB_FEATURE_LS_TIMESTAMPS  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-02-20 06:16:29 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						cbe31dace5 
					 
					
						
						
							
							It turns out that DODMALLOC was broken when I reorganized busybox.h  
						
						... 
						
						
						
						header file usage before the 0.49 release.  To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
 -Erik 
						
						
					 
					
						2001-02-20 06:14:08 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						81bcc92c32 
					 
					
						
						
							
							Fixed 'ls -s' so it actually displays block sizes again.  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-02-15 18:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						67991cf824 
					 
					
						
						
							
							This patch, put together by Manuel Novoa III, is a merge of work  
						
						... 
						
						
						
						done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed. 
						
						
					 
					
						2001-02-14 21:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						9b300d0b1f 
					 
					
						
						
							
							Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.  
						
						
						
						
					 
					
						2001-02-01 19:39:43 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						30f64c3aa2 
					 
					
						
						
							
							Fix a stupid typo -- bug found by Larry Doolittle.  
						
						
						
						
					 
					
						2001-01-30 19:23:46 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						e57d54b456 
					 
					
						
						
							
							Fix ls behavior for broken or very narrow terminals.  Fix my_*  
						
						... 
						
						
						
						functions so they comply with the original interface (i.e. don't
exit on error, stringify uids and gids when no amtching name found).
 -Erik 
						
						
					 
					
						2001-01-30 18:03:11 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						ed3ef50c23 
					 
					
						
						
							
							Fix header file usage -- there were many unnecessary header files included in  
						
						... 
						
						
						
						busybox.h which slowed compiles.  I left only what was needed and then fixed up
all the apps to include their own header files.  I also fixed naming for pwd.h
and grp.h functions.  Tested to compile and run with libc5, glibc, and uClibc.
 -Erik 
						
						
					 
					
						2001-01-27 08:24:39 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						a528dc7071 
					 
					
						
						
							
							Fix my braindamage -- remove termios and sighandling since they are not  
						
						... 
						
						
						
						needed at all.  My bad.
 -Erik 
						
						
					 
					
						2001-01-26 18:30:12 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						1e4b957ac3 
					 
					
						
						
							
							I am an idiot.  Looking over my patch, ls doesn't need to do anything  
						
						... 
						
						
						
						more then the ioctl to get the win size.   None of the termios handling
crap is needed.
 -Erik 
						
						
					 
					
						2001-01-26 18:09:13 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						5c9c8b4b26 
					 
					
						
						
							
							Make cin be static  
						
						
						
						
					 
					
						2001-01-26 06:50:46 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						5307eca7de 
					 
					
						
						
							
							Make ls understand termios.  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-01-26 01:52:43 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						f5d5e77321 
					 
					
						
						
							
							more bugs fixed -- found doing regression testing  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2001-01-24 23:34:48 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						59ab025363 
					 
					
						
						
							
							#define -> static const int. Also got rid of some big static buffers.  
						
						
						
						
					 
					
						2001-01-23 22:30:04 +00:00 
						 
				 
			
				
					
						
							
							
								Richard June 
							
						 
					 
					
						
						
							
						
						6d0921cc0b 
					 
					
						
						
							
							Add HUMAN_READABLE define for -m and -h support in du, df, and ls  
						
						... 
						
						
						
						Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default)
Fix bug #1084  
						
						
					 
					
						2001-01-22 22:35:38 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						12f417edbd 
					 
					
						
						
							
							Eliminate calls of the form "fprintf(stdout,".  Thanks for the idea to  
						
						... 
						
						
						
						Vladimir N. Oleynik. 
						
						
					 
					
						2001-01-18 02:57:08 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						1fa1adea2a 
					 
					
						
						
							
							Change calls to error_msg.* and strerror to use perror_msg.*.  
						
						
						
						
					 
					
						2000-12-18 03:57:16 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						bd193a42a5 
					 
					
						
						
							
							Fix from Matt Kraai -- a better way to NULL terminate strings for the  
						
						... 
						
						
						
						my_* passwd and group routines.  I should have thought of doing it
this way... 
						
						
					 
					
						2000-12-13 01:52:39 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Whitley 
							
						 
					 
					
						
						
							
						
						f57c944e09 
					 
					
						
						
							
							Changed names of functions in utility.c and all affected files, to make  
						
						... 
						
						
						
						compliant with the style guide. Everybody rebuild your tags file! 
						
						
					 
					
						2000-12-07 19:56:48 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						3e856ce428 
					 
					
						
						
							
							Stop using TRUE and FALSE for exit status.  
						
						
						
						
					 
					
						2000-12-01 02:55:13 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						cf1189f5a7 
					 
					
						
						
							
							Patch from Matt Kraai to fix an infinate loop with ls -aR  
						
						
						
						
					 
					
						2000-11-29 21:52:06 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						e93abf9e69 
					 
					
						
						
							
							Fixed user and group name listing.  
						
						
						
						
					 
					
						2000-11-18 01:08:24 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						3e07541e5f 
					 
					
						
						
							
							This was redundant  
						
						
						
						
					 
					
						2000-10-29 07:02:47 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						a5bd26831f 
					 
					
						
						
							
							Make features independent.  
						
						
						
						
					 
					
						2000-10-28 06:40:09 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						b273d66518 
					 
					
						
						
							
							We also need to declare info if the USERNAMES feature is enabled.  
						
						
						
						
					 
					
						2000-10-28 01:21:22 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						9a6e67c960 
					 
					
						
						
							
							Consolidate stat(2) and lstat(2) calls and error handling.  
						
						
						
						
					 
					
						2000-10-13 18:03:21 +00:00 
						 
				 
			
				
					
						
							
							
								Matt Kraai 
							
						 
					 
					
						
						
							
						
						33fdae54d1 
					 
					
						
						
							
							Exit with failure status if we are unable to list any files or  
						
						... 
						
						
						
						directories.  Patch thanks to Kent Robotti <robotti@metconnect.com >. 
						
						
					 
					
						2000-10-13 17:59:43 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						e7e1e2dcad 
					 
					
						
						
							
							Apply a patch from Matt Kraai to fix buffer overrun and convert to  
						
						... 
						
						
						
						using synamically allocated storage.
 -Erik 
						
						
					 
					
						2000-10-12 22:40:14 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						958c78f9a1 
					 
					
						
						
							
							Apply a patch from Matt Kraai:  
						
						... 
						
						
						
						"The -L option to ls doesn't behave correctly for files listed explicitly
    on the command line, only those in directories that are listed.  The
    appended patch fixes this problem.  Would someone please commit it?"
 -Erik 
						
						
					 
					
						2000-10-09 17:51:25 +00:00 
						 
				 
			
				
					
						
							
							
								Eric Andersen 
							
						 
					 
					
						
						
							
						
						3570a34de4 
					 
					
						
						
							
							Renamed "internal.h" to the more sensible "busybox.h".  
						
						... 
						
						
						
						-Erik 
						
						
					 
					
						2000-09-25 21:45:58 +00:00