oweals/busybox.git
20 years agoMark Lord writes:
Eric Andersen [Tue, 17 Feb 2004 20:04:34 +0000 (20:04 -0000)]
Mark Lord writes:

The config file processing for inetd in busybox-1.00-pre7 and newer
is broken -- the saved command argv[] values overwrite each other.

Patch to fix it is attached.

Cheers
--
Mark Lord
Real-Time Remedies Inc.

20 years agoAdd the -r option, patch from Rob with some help from myself.
Glenn L McGrath [Tue, 17 Feb 2004 12:22:21 +0000 (12:22 -0000)]
Add the -r option, patch from Rob with some help from myself.

20 years agoRemove debugging
Glenn L McGrath [Tue, 17 Feb 2004 12:04:13 +0000 (12:04 -0000)]
Remove debugging

20 years agoDont strip trailing '/' until _after_ i test to set if its there !
Glenn L McGrath [Tue, 17 Feb 2004 11:55:06 +0000 (11:55 -0000)]
Dont strip trailing '/' until _after_ i test to set if its there !

20 years agoPatch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,
Manuel Novoa III [Tue, 17 Feb 2004 10:16:21 +0000 (10:16 -0000)]
Patch from Florian Schirmer <jolt@tuxbox.org>.  When I rewrote the parser,
I overlooked the case of someone wanting to use a valid but empty suid
config file.

20 years agoWoops, im getting ahead of myself, we dont have the -r (refernece)
Glenn L McGrath [Tue, 17 Feb 2004 07:58:04 +0000 (07:58 -0000)]
Woops, im getting ahead of myself, we dont have the -r (refernece)
option yet

20 years agodefine option names to be clearer, simplify nested if statements, remove
Glenn L McGrath [Tue, 17 Feb 2004 07:51:31 +0000 (07:51 -0000)]
define option names to be clearer, simplify nested if statements, remove
un-needed if statement, minor indenting change

20 years agoAvoid naming conflict with symbol in newer glibc headers
Eric Andersen [Sat, 14 Feb 2004 21:33:39 +0000 (21:33 -0000)]
Avoid naming conflict with symbol in newer glibc headers

20 years agoAccomodate the fact that newer libc versions may in fact not
Eric Andersen [Fri, 13 Feb 2004 08:09:43 +0000 (08:09 -0000)]
Accomodate the fact that newer libc versions may in fact not
contain query_module and friends and more

20 years agooops. Leave the default feature set enbled for now...
Eric Andersen [Tue, 10 Feb 2004 01:30:21 +0000 (01:30 -0000)]
oops.  Leave the default feature set enbled for now...

20 years agoInitial effort at disabling job control as well
Eric Andersen [Tue, 10 Feb 2004 01:28:36 +0000 (01:28 -0000)]
Initial effort at disabling job control as well

20 years agoSupport disabling pipe and redirect support
Eric Andersen [Tue, 10 Feb 2004 01:07:45 +0000 (01:07 -0000)]
Support disabling pipe and redirect support

20 years agoUpdate URL
Eric Andersen [Mon, 9 Feb 2004 10:57:04 +0000 (10:57 -0000)]
Update URL

20 years agoBuffalo appears to have resolved their GPL problems
Eric Andersen [Mon, 9 Feb 2004 10:01:01 +0000 (10:01 -0000)]
Buffalo appears to have resolved their GPL problems

20 years agoRichard Kojedzinszky writes:
Eric Andersen [Fri, 6 Feb 2004 10:36:08 +0000 (10:36 -0000)]
Richard Kojedzinszky writes:

Hi All,

I aplogoize for the mistake, but i have just recognized that somehow the
last patch I sent in was wrong, and a '0' was instead of a '-1'. Because
of this, vi does behave the wrong way. So again, it should be the last
patch for vi. This is for pre7.

20 years agoPatch from vodz, based on bug report from Richard Kojedzinszky:
Eric Andersen [Fri, 6 Feb 2004 10:33:19 +0000 (10:33 -0000)]
Patch from vodz, based on bug report from Richard Kojedzinszky:

Richard,

>I have a problem, which I can reproduce now. I am using pre7 version of
>busybox, and the tab completion works fine. I mean, with an empty command
>line I press the TAB twice, and ash shows me the available commands. But
>when i process the profile file below, as
> $ . /etc/profile
>then it stops working, and the double-tab lists the directories available
>from the cwd, and not the commands. Has someone else meet this problem
>before, or am i doing something wrong?
>
>This is  my '/etc/profile':
>- ---
># System profile
>
>PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
>export PATH
>trap ":" INT QUIT TERM
>
>export PS1="\h \w # "

Thanks. Patch attached.

--w
vodz

20 years agoMake the loop support stuff be much less evil, and make it cope
Eric Andersen [Fri, 6 Feb 2004 07:16:36 +0000 (07:16 -0000)]
Make the loop support stuff be much less evil, and make it cope
with 2.6.x asm/posix_types.h, which has done singularly evil thing
by yanking __kernel_dev_t and renaming it.  The loop interface was
really poorly designed in the first place.  The new 64 bit loop
interface looks to be somewhat less horrible, too bad it is only
present in 2.6.x kernels.
 -Erik

20 years agoEliminate use of a kernel scsi header file.
Eric Andersen [Fri, 6 Feb 2004 05:26:58 +0000 (05:26 -0000)]
Eliminate use of a kernel scsi header file.

Prevent potentially misaligned accesses while indexing a pointer
to the partition table, which would be a bad thing on i.e. arm.

20 years agoMake sure stdlib.h is always included before dmalloc.h to avoid problems
Manuel Novoa III [Thu, 5 Feb 2004 14:45:58 +0000 (14:45 -0000)]
Make sure stdlib.h is always included before dmalloc.h to avoid problems
parsing problems.

20 years agoVladimir N. Oleynik writes:
Eric Andersen [Thu, 5 Feb 2004 13:52:03 +0000 (13:52 -0000)]
Vladimir N. Oleynik writes:

Hi, Glenn.

Current CVS "ls" applet have small problem: some options
ignoring. Last patch attached ;-)

--w
vodz

20 years agoVladimir N. Oleynik writes:
Eric Andersen [Thu, 5 Feb 2004 13:49:29 +0000 (13:49 -0000)]
Vladimir N. Oleynik writes:

Ok. I found my mistake :(
The trivial patch attached.

--w
vodz

20 years agoElaborate on CONFIG_SELINUX, and explain that most people should
Eric Andersen [Thu, 5 Feb 2004 00:18:26 +0000 (00:18 -0000)]
Elaborate on CONFIG_SELINUX, and explain that most people should
not enbable this option.

20 years agoGrammar fix
Eric Andersen [Wed, 4 Feb 2004 12:07:40 +0000 (12:07 -0000)]
Grammar fix

20 years agoMinor grammar fixup
Eric Andersen [Wed, 4 Feb 2004 11:59:48 +0000 (11:59 -0000)]
Minor grammar fixup

20 years agoBump version number for release 1_00_pre7
Eric Andersen [Wed, 4 Feb 2004 11:44:58 +0000 (11:44 -0000)]
Bump version number for release

20 years agoRichard Kojedzinszky writes:
Eric Andersen [Wed, 4 Feb 2004 11:19:44 +0000 (11:19 -0000)]
Richard Kojedzinszky writes:

Hi,

I've noticed the bug also, and here is another patch for it. I hope it'll
not introduce more bugs. Not too nice, but works for me.

Here it is for busybox-1.00-pre6

20 years agoJoe.C writes:
Eric Andersen [Wed, 4 Feb 2004 11:10:28 +0000 (11:10 -0000)]
Joe.C writes:

Hi,

   When httpd connection is closed, bosybox httpd will
not stop reading from CGI program. This patch fix this
problem. It check the return value of bb_full_write and
stop reading from CGI if the connection is closed.
Please apply this patch.

Joe.C

20 years agoJean Wolter writes:
Eric Andersen [Wed, 4 Feb 2004 11:01:19 +0000 (11:01 -0000)]
Jean Wolter writes:

Hello,

when calling seq with

    seq 1 1

it generates an "endless" list of numbers until the counter wraps and
reaches 1 again. The follwoing small patch should introduce the
expected behavior (output of 1 and termination):

regards,
Jean

20 years agoRob Landley writes:
Eric Andersen [Wed, 4 Feb 2004 10:57:46 +0000 (10:57 -0000)]
Rob Landley writes:

While building glibc with busybox as part of the development environment, I
found a bug in glibc's regexec can throw sed into an endless loop.  This
fixes it.  Should I put an #ifdef around it or something?  (Note, this patch
also contains the "this is not gnu sed 4.0" hack I posted earlier, which is
also needed to build glibc...)

20 years agoThe variable 'complementaly' used to be allocated with calloc, which zeroed it
Eric Andersen [Wed, 4 Feb 2004 10:48:37 +0000 (10:48 -0000)]
The variable 'complementaly' used to be allocated with calloc, which zeroed it
out during the allocation process.  When vodz changed it to be allocated on the
stack, he forgot to explicitly zero it, leaving its value filled with whatever
used to be sitting on the stack.  It would garbage values, depending on the
garbage that happened to be sitting on the stack when the function was called.
The result was that applets using bb_getopt_ulflags() were showing
unpredictable behavior (such as segfaults), which naturally broke many things.

20 years agoBug fix from Tito.
Glenn L McGrath [Wed, 4 Feb 2004 08:27:57 +0000 (08:27 -0000)]
Bug fix from Tito.

20 years agoVodz last_patch_125_2, this patch have:
Glenn L McGrath [Wed, 4 Feb 2004 08:24:39 +0000 (08:24 -0000)]
Vodz last_patch_125_2, this patch have:
- synced with dash 0.4.21
- better handle trap "cmds..." SIGINT (strange, i make bad hack for ash
  and cmdedit, but this work only with this...)
- may be haven`t problem with Ctrl-D

20 years agoRewrite parse_config_file(). Among the old version's problems:
Manuel Novoa III [Sun, 1 Feb 2004 10:03:05 +0000 (10:03 -0000)]
Rewrite parse_config_file().  Among the old version's problems:
  No checking for lines that were too long.
  No checking that fgets returning NULL was actually due to EOF.
  Various whitespace handling inconsistencies.
  Bloat (switches and multiple identical function calls).
  Failure to check for trailing characters in some cases.
  Dynamicly allocated memory was not free()d on error.
Given that this controls suid/sgid behavior, the sloppy coding was
really inexcusable.  :-(

20 years agoUse bb_xstrdup() instead of strdup().
Manuel Novoa III [Sun, 1 Feb 2004 07:34:28 +0000 (07:34 -0000)]
Use bb_xstrdup() instead of strdup().

20 years agoFix http proxy use, bytes were swapped 1_00_pre6
Glenn L McGrath [Sat, 31 Jan 2004 08:08:57 +0000 (08:08 -0000)]
Fix http proxy use, bytes were swapped

20 years agoMention changes to the daily snapshots
Eric Andersen [Sat, 31 Jan 2004 06:11:39 +0000 (06:11 -0000)]
Mention changes to the daily snapshots

20 years agoUpdate docs for release
Eric Andersen [Sat, 31 Jan 2004 05:44:07 +0000 (05:44 -0000)]
Update docs for release

20 years agoBump version for release
Eric Andersen [Sat, 31 Jan 2004 05:27:17 +0000 (05:27 -0000)]
Bump version for release

20 years agoUse standard C99 types
Eric Andersen [Fri, 30 Jan 2004 23:45:53 +0000 (23:45 -0000)]
Use standard C99 types

20 years agoUse proper C99 types
Eric Andersen [Fri, 30 Jan 2004 22:59:50 +0000 (22:59 -0000)]
Use proper C99 types

20 years agoFixup use of 'u_int' to instead use 'unsigned int'
Eric Andersen [Fri, 30 Jan 2004 22:56:20 +0000 (22:56 -0000)]
Fixup use of 'u_int' to instead use 'unsigned int'

20 years agos/u_int/uint/g
Eric Andersen [Fri, 30 Jan 2004 22:54:20 +0000 (22:54 -0000)]
s/u_int/uint/g

20 years agos/u_int/unsigned int/g
Eric Andersen [Fri, 30 Jan 2004 22:52:27 +0000 (22:52 -0000)]
s/u_int/unsigned int/g
s/u_short/unsigned short/g

20 years agoUse proper C99 types
Eric Andersen [Fri, 30 Jan 2004 22:40:05 +0000 (22:40 -0000)]
Use proper C99 types

20 years agoUse proper C99 types throughout. So not use silly typedefs.
Eric Andersen [Fri, 30 Jan 2004 22:31:58 +0000 (22:31 -0000)]
Use proper C99 types throughout.  So not use silly typedefs.

20 years agoAvoid symbol naming conflict with libm
Eric Andersen [Fri, 30 Jan 2004 22:24:32 +0000 (22:24 -0000)]
Avoid symbol naming conflict with libm

20 years agoSupport new uClibc stdio core.
Manuel Novoa III [Fri, 30 Jan 2004 21:44:20 +0000 (21:44 -0000)]
Support new uClibc stdio core.

20 years agoApply a couple of optimizations
Eric Andersen [Thu, 29 Jan 2004 22:33:28 +0000 (22:33 -0000)]
Apply a couple of optimizations

20 years agoTeach busybox ps to get the correct uid when displaying stuff
Eric Andersen [Tue, 27 Jan 2004 20:17:39 +0000 (20:17 -0000)]
Teach busybox ps to get the correct uid when displaying stuff

20 years agoNew applet, seq. No options, just the basics.
Glenn L McGrath [Tue, 27 Jan 2004 09:22:20 +0000 (09:22 -0000)]
New applet, seq. No options, just the basics.

20 years agoAlign using spaces to furthurest character and then one tab, now they
Glenn L McGrath [Tue, 27 Jan 2004 07:36:07 +0000 (07:36 -0000)]
Align using spaces to furthurest character and then one tab, now they
should always be aligned.

20 years agoA few little updates, mostly cosmetic
Eric Andersen [Mon, 26 Jan 2004 08:23:36 +0000 (08:23 -0000)]
A few little updates, mostly cosmetic

20 years agoSigh. TRENDware has released source -- only for busybox and udhcp.
Eric Andersen [Mon, 26 Jan 2004 07:59:42 +0000 (07:59 -0000)]
Sigh.  TRENDware has released source -- only for busybox and udhcp.
So despite their not providing kernel source, they have compiled with
the requirements for busybox at least...

20 years agoPascal Brisset writes:
Eric Andersen [Mon, 26 Jan 2004 07:17:30 +0000 (07:17 -0000)]
Pascal Brisset writes:

uuencode fails to encode binary data because it right-shifts
bytes as signed chars and keeps the duplicated sign bits.

The original base64_encode() from wget/http.c is broken as well,
but it is only used to encode ascii data.

-- Pascal

20 years agoBe stricter when converting strings to integers. Should fix the problem
Manuel Novoa III [Sun, 25 Jan 2004 19:47:10 +0000 (19:47 -0000)]
Be stricter when converting strings to integers.  Should fix the problem
reported by Rob.

20 years agoFix compile error when tab completion disabled
Glenn L McGrath [Sun, 25 Jan 2004 08:46:10 +0000 (08:46 -0000)]
Fix compile error when tab completion disabled

20 years agoAdd the -r option as a synonym of -R
Glenn L McGrath [Sun, 25 Jan 2004 05:50:28 +0000 (05:50 -0000)]
Add the -r option as a synonym of -R

20 years agoAdd the -h, --dereference option for archive creation.
Glenn L McGrath [Sun, 25 Jan 2004 05:48:28 +0000 (05:48 -0000)]
Add the -h, --dereference option for archive creation.

20 years agoEnable long options, adds 150 bytes.
Glenn L McGrath [Fri, 23 Jan 2004 21:57:16 +0000 (21:57 -0000)]
Enable long options, adds 150 bytes.

20 years agoCorrect check for only one of K or S options
Glenn L McGrath [Fri, 23 Jan 2004 21:43:49 +0000 (21:43 -0000)]
Correct check for only one of K or S options

20 years agoCheck valid options were given
Glenn L McGrath [Fri, 23 Jan 2004 21:40:19 +0000 (21:40 -0000)]
Check valid options were given

20 years agoDont change ownership unless we created the directory.
Glenn L McGrath [Fri, 23 Jan 2004 20:28:53 +0000 (20:28 -0000)]
Dont change ownership unless we created the directory.

20 years agoRemove unneeded conditions and logic, fix bug where ownership didnt
Glenn L McGrath [Fri, 23 Jan 2004 10:57:00 +0000 (10:57 -0000)]
Remove unneeded conditions and logic, fix bug where ownership didnt
change.
Dont use bb_make_directory it doesnt have the features, and its ugly to
work around it.

20 years agolast_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debian
Glenn L McGrath [Thu, 22 Jan 2004 12:42:23 +0000 (12:42 -0000)]
last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debian
bug #228915

20 years agoCheck one and only one of start, stop are given.
Glenn L McGrath [Thu, 22 Jan 2004 09:04:58 +0000 (09:04 -0000)]
Check one and only one of start, stop are given.
Remove some global variables.
#define some getopt values.

20 years agoVodz, last_patch_123, patch have new version getopt_ulflags.
Glenn L McGrath [Thu, 22 Jan 2004 07:10:13 +0000 (07:10 -0000)]
Vodz, last_patch_123, patch have new version getopt_ulflags.
- size reduced 34 bytes
- don`t use dynamic memory allocation
- small indent correction.

20 years agoPatch from Atsushi Nemoto, recent MIPS kernel headers
Glenn L McGrath [Wed, 21 Jan 2004 11:36:44 +0000 (11:36 -0000)]
Patch from Atsushi Nemoto, recent MIPS kernel headers
does not provide PAGE_SHIFT for userland (because now mips-linux kernel
supports PAGESIZE other than 4K).

20 years agoPatch by Richard Kojedzinszky, when using END at end of lines it was
Glenn L McGrath [Wed, 21 Jan 2004 10:59:45 +0000 (10:59 -0000)]
Patch by Richard Kojedzinszky, when using END at end of lines it was
 skipping to next line, cw command was leaving one char in buffer

20 years agoRedo getconfigent, save 150 bytes, still small memory leak when
Glenn L McGrath [Tue, 20 Jan 2004 15:32:39 +0000 (15:32 -0000)]
Redo getconfigent, save 150 bytes, still small memory leak when
parsing invalid entries.

20 years agoPatch from Tito, reduce size, merge functions that are only used once.
Glenn L McGrath [Tue, 20 Jan 2004 12:57:18 +0000 (12:57 -0000)]
Patch from Tito, reduce size, merge functions that are only used once.

20 years agoStephane Billiart writes:
Eric Andersen [Sun, 18 Jan 2004 18:18:33 +0000 (18:18 -0000)]
Stephane Billiart writes:

bb_lookup_port now takes 3 parameters but rdate has not been modified
accordingly and fails to compile in the current CVS version.
The modification below fixes the problem.

Now, RFC868 allows both UDP and TCP implementations of the time protocol
so this may not work if someone defines a udp time service other than 37
but who would do that?

20 years agoFix up a couple of bugs i introduced in yesterdays cleanup.
Glenn L McGrath [Sun, 18 Jan 2004 08:58:06 +0000 (08:58 -0000)]
Fix up a couple of bugs i introduced in yesterdays cleanup.

20 years agoFix a bug where `ls -le` would print the time twice.
Glenn L McGrath [Sun, 18 Jan 2004 05:41:30 +0000 (05:41 -0000)]
Fix a bug where `ls -le` would print the time twice.

20 years agoUse bb_getopt_ulflags, save 200-300 bytes
Glenn L McGrath [Sun, 18 Jan 2004 05:15:16 +0000 (05:15 -0000)]
Use bb_getopt_ulflags, save 200-300 bytes

20 years agoPatch from Leif Lindholm (slightly modified by me), to fix http
Glenn L McGrath [Sat, 17 Jan 2004 23:07:14 +0000 (23:07 -0000)]
Patch from Leif Lindholm (slightly modified by me), to fix http
redirection.
Example of incorrect behaviour was the following url, busybox wget didnt
get redirected to the busybox url as it should.
http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net

20 years agoModify bb_lookup_port to allow the protocol to be specified, allowing
Glenn L McGrath [Sat, 17 Jan 2004 05:03:31 +0000 (05:03 -0000)]
Modify bb_lookup_port to allow the protocol to be specified, allowing
/etc/services support for inetd, netcat and tftp.

20 years agoPatch from Arthur Othieno, clarify common options between dpkg and dpkg-deb
Glenn L McGrath [Sat, 17 Jan 2004 03:24:05 +0000 (03:24 -0000)]
Patch from Arthur Othieno, clarify common options between dpkg and dpkg-deb

20 years agoThe functions setconfig, enter and bump_nofile were only called once, marge them...
Glenn L McGrath [Sat, 17 Jan 2004 03:20:46 +0000 (03:20 -0000)]
The functions setconfig, enter and bump_nofile were only called once, marge them into the calling
function.

20 years agoUse 1 line for function name and return value,
Glenn L McGrath [Sat, 17 Jan 2004 02:47:45 +0000 (02:47 -0000)]
Use 1 line for function name and return value,
remove dofork define/variable,
dont check pid value is < or > than 0 if we know it is 0.

20 years agoRemove some defined statements
Glenn L McGrath [Sat, 17 Jan 2004 01:44:32 +0000 (01:44 -0000)]
Remove some defined statements

20 years agoChanged #define names for common features (superficial)
Glenn L McGrath [Sat, 17 Jan 2004 01:26:53 +0000 (01:26 -0000)]
Changed #define names for common features (superficial)

20 years agoUse bb_get_chomped_line_from_file
Glenn L McGrath [Sat, 17 Jan 2004 00:34:31 +0000 (00:34 -0000)]
Use bb_get_chomped_line_from_file

20 years agoMinor updates from linux 2.6.1
Eric Andersen [Fri, 16 Jan 2004 12:49:06 +0000 (12:49 -0000)]
Minor updates from linux 2.6.1

20 years agoPatch by Tito, reduce size of deallocvt, also make the usage message
Glenn L McGrath [Thu, 15 Jan 2004 11:50:19 +0000 (11:50 -0000)]
Patch by Tito, reduce size of deallocvt, also make the usage message
clearer (from N to [N]) and indirectly (through bb_xgetlarg) adds support
for  -h ;-)

20 years agoVodz last_patch_122, Check $PATH at runtime to fix tab completion
Glenn L McGrath [Wed, 14 Jan 2004 09:34:51 +0000 (09:34 -0000)]
Vodz last_patch_122, Check $PATH at runtime to fix tab completion

20 years agoPatch by Tito, use bb_xgetlarg, reduce size
Glenn L McGrath [Wed, 14 Jan 2004 07:34:37 +0000 (07:34 -0000)]
Patch by Tito, use bb_xgetlarg, reduce size

20 years agoFix a bug where mount could check the wrong device. st_rdev is the correct
Eric Andersen [Tue, 13 Jan 2004 11:39:22 +0000 (11:39 -0000)]
Fix a bug where mount could check the wrong device.  st_rdev is the correct
device ID iff the named file is a character or block special device.  Otherwise
it is meaningless junk, in which case st_dev should be used.  This was done
incorrectly, which could cause mount to display bogus mount info.
 -Erik

20 years agoPatch from Bastian Blank, allow the buildtime to be overriden with a
Glenn L McGrath [Tue, 13 Jan 2004 10:57:32 +0000 (10:57 -0000)]
Patch from Bastian Blank, allow the buildtime to be overriden with a
different string, used by the debian busybox-cvs to specify the debian
date based version number.

20 years agoVodz last_patch_121, syncing with dash_0.4.19, reduce code size.
Glenn L McGrath [Tue, 13 Jan 2004 10:19:37 +0000 (10:19 -0000)]
Vodz last_patch_121, syncing with dash_0.4.19, reduce code size.

20 years agoPatch by Tito, remove some unneeded variables to save some space.
Glenn L McGrath [Tue, 13 Jan 2004 10:12:16 +0000 (10:12 -0000)]
Patch by Tito, remove some unneeded variables to save some space.

20 years agoPatch from Matt Kraai to fix debian bug #227081
Glenn L McGrath [Sun, 11 Jan 2004 05:20:59 +0000 (05:20 -0000)]
Patch from Matt Kraai to fix debian bug #227081

cp does not truncate existing destinations.  That is, after
running

 echo foo > foo
 echo fubar > fubar
 cp foo fubar

the contents of fubar are

 foo
 r

instead of

 foo

20 years agowhitespace cleanup
Eric Andersen [Sat, 10 Jan 2004 11:29:31 +0000 (11:29 -0000)]
whitespace cleanup

20 years agoWoody Suwalski writes:
Eric Andersen [Sat, 10 Jan 2004 11:25:53 +0000 (11:25 -0000)]
Woody Suwalski writes:

I have found the problem in modprobe, so here is the promised patch
At the current stage I can use it as modprobe while switching between
2.4 and 2.6 seemlesly...(that is good!)

20 years agoPatch from Bastian Blank to fix debian bug #226722, test case:
Glenn L McGrath [Thu, 8 Jan 2004 10:51:09 +0000 (10:51 -0000)]
Patch from Bastian Blank to fix debian bug #226722, test case:
 mkdir foo
 touch foo/bar
 ln -s bar foo/baz

20 years agoUse bb_getopt_ulflags, save 100 bytes and strict argument checking.
Glenn L McGrath [Wed, 7 Jan 2004 09:24:06 +0000 (09:24 -0000)]
Use bb_getopt_ulflags, save 100 bytes and strict argument checking.

20 years agoWoody Suwalski writes:
Eric Andersen [Tue, 6 Jan 2004 00:07:17 +0000 (00:07 -0000)]
Woody Suwalski writes:

accept more then 1 dependency per modules.dep line. Also white space cleanup...
I think that parsing still breaks sometimes, but is mostly functional now.

20 years agoFix broken #else
Eric Andersen [Mon, 5 Jan 2004 23:49:37 +0000 (23:49 -0000)]
Fix broken #else

20 years agoUse bb_getopt_ulflags, save 150 bytes.
Glenn L McGrath [Mon, 5 Jan 2004 12:35:05 +0000 (12:35 -0000)]
Use bb_getopt_ulflags, save 150 bytes.

20 years agoUse bb_getopt_ulflags, simplify some logic, saves some bytes.
Glenn L McGrath [Mon, 5 Jan 2004 11:49:55 +0000 (11:49 -0000)]
Use bb_getopt_ulflags, simplify some logic, saves some bytes.

20 years agoFix usage with libraries, skip symbol table.
Glenn L McGrath [Sun, 4 Jan 2004 11:06:34 +0000 (11:06 -0000)]
Fix usage with libraries, skip symbol table.