Mike Frysinger
57f4cb2867
a few more comment touchups
2006-02-21 00:50:37 +00:00
Mike Frysinger
e17c80e604
translate Russian-English to just plain English
2006-02-21 00:37:42 +00:00
"Vladimir N. Oleynik"
7673ccad60
sync with mainstream, but check more
2006-02-20 16:57:36 +00:00
Rob Landley
081d6d4380
getdomainname() isn't guaranteed to null terminate the string if it was
...
truncated for length. SVN 14135 made sure that the truncated version would
always be null terminated. SVN 14144 broke this for no readily apparent
reason, and I have no idea what it was even trying to accomplish. Reverted.
2006-02-20 16:31:44 +00:00
"Vladimir N. Oleynik"
0c6ff43a0c
remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION
2006-02-20 12:15:10 +00:00
"Vladimir N. Oleynik"
d24d083061
correction get(host/domain)name usage, revert 742 bug
2006-02-20 10:44:02 +00:00
Rob Landley
4e9deec8bf
svn 14077 was completely broken and apparently never tested.
2006-02-20 02:44:30 +00:00
Mike Frysinger
dce17c6268
rfelker writes in Bug 742: make sure string is null terminated after calling gethostname
2006-02-19 23:03:31 +00:00
Mike Frysinger
294254ce6b
rfelker writes in Bug 740: s/u_char/unsigned char/
2006-02-19 22:59:12 +00:00
"Vladimir N. Oleynik"
06776b3650
type typo. Thanks, Devin Bayer
2006-02-17 09:33:22 +00:00
"Vladimir N. Oleynik"
dd1ccddf1b
moved BB_BANNER to applets/version.c file: make kernel like version,
...
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-02-16 15:40:24 +00:00
"Vladimir N. Oleynik"
21e68703ce
removed #undef strlen, use builtins and prototuped strlen from xfunc file (only\!)
2006-02-16 14:38:41 +00:00
"Vladimir N. Oleynik"
465300ced9
cleanups after changes by Denis Vlasenko. Size optimization
2006-02-14 10:17:09 +00:00
Rob Landley
b2804551a0
Cleanups from Denis Vlasenko.
2006-02-13 22:04:27 +00:00
Rob Landley
90632d021c
Bug fix from Kim B. Heino, manifested via:
...
echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
2006-02-13 19:40:43 +00:00
Rob Landley
bec26527a1
Save a few bytes in error message.
2006-02-05 03:31:44 +00:00
"Vladimir N. Oleynik"
4fc92206ed
destroy bug 679, use getopt_ulflags with new feature: usage option. Removed two strdup
2006-02-02 14:48:54 +00:00
Mike Frysinger
b38673fb9f
make the build system puuuuuuuuuuurty
2006-02-02 01:41:53 +00:00
Bernhard Reutner-Fischer
3038557649
- bzero -> memset
...
text data bss dec hex filename
1652855
14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3
1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3
1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4
1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4
1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0
1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0
1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD
1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD
1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD
1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
2006-01-31 17:57:48 +00:00
"Vladimir N. Oleynik"
1f17d3287a
more obscure
2006-01-31 12:36:51 +00:00
"Vladimir N. Oleynik"
7600eec732
avoid signed<->unsigned warning
2006-01-31 12:12:15 +00:00
Bernhard Reutner-Fischer
cd98555dfa
- fix typo i introduced yesterday.
2006-01-31 08:17:13 +00:00
Eric Andersen
76b24270d4
with 2.4 kernel headers, lo_file_name is char, but with 2.6
...
headers we get a u8 for lo_file_name, so always cast to (char *)
when treating it as such.
2006-01-30 17:30:22 +00:00
Bernhard Reutner-Fischer
20f4000086
- add some ATTRIBUTE_UNUSED.
...
- use shorter boilerplate while at it.
2006-01-30 17:17:14 +00:00
Bernhard Reutner-Fischer
0e8727d93b
- make linking against libcrypt optional by looking if pw_encrypt() or
...
correct_password() is configured. Fixes allnoconfig pulling in -lcrypt.
2006-01-30 15:29:55 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Rob Landley
b70ccd9509
Close bug 644: loop incrementing twice, skipping ever other device.
2006-01-22 23:17:18 +00:00
Bernhard Reutner-Fischer
37dec0e9e9
- make CONFIG_MD5SUM_SIZE_VS_SPEED configurable via menuconfig.
...
- use shorter boilerplate.
2006-01-17 12:07:03 +00:00
Bernhard Reutner-Fischer
7ca61b6f33
- shared libbusybox.
...
- IMA compilation option (aka IPO, IPA,..)
Please holler if i broke something..
2006-01-15 14:04:57 +00:00
Bernhard Reutner-Fischer
853c44b798
- correct definitions.
2006-01-13 12:03:26 +00:00
Bernhard Reutner-Fischer
dd9dce104d
- shrink simple obscure stuff a tiny bit:
...
text data bss dec hex filename
789 0 0 789 315 obscure.o.oorig
771 0 0 771 303 obscure.o
- replace bzero by memset while at it.
2006-01-12 15:38:12 +00:00
"Vladimir N. Oleynik"
f01e1784e5
removed a warning about an unused pargv in bb_getopt_ulflags. Noticed by Tito
2006-01-09 13:28:31 +00:00
Rob Landley
3d1bbf0a5f
Minor cosmetic fix from Tito.
2006-01-09 01:07:24 +00:00
Rob Landley
84cb76733f
patch from tito: consolidate delay functions as bb_do_delay()
2006-01-06 20:59:09 +00:00
Rob Landley
9085467970
Trying to losetup a device as a regular user shouldn't result in an endless
...
loop, and the error messages should display correctly now.
2005-12-21 16:53:57 +00:00
Rob Landley
e422af6bcb
Flush input when prompting for a password (bug 373).
2005-12-12 07:02:15 +00:00
"Vladimir N. Oleynik"
bf968f71f1
reduce signedness warning
2005-12-02 10:10:28 +00:00
Rob Landley
1d589b2e2d
Fix losetup so that it A) actually works again, B) has much better error
...
messages, C) can show the current association (if any) when called
with only one argument. Update the documentation a lot too.
Remind me to add a test suite for this thing. I think I've figured out
how to handle root-only testsuites...
2005-11-29 23:47:10 +00:00
"Vladimir N. Oleynik"
cc34344d91
change the interface of libbb/compare_string_array (unsigned short to int), usaging for e2fsprogs/fsck
2005-11-26 10:45:26 +00:00
"Vladimir N. Oleynik"
61ff4b3973
more use const for interface of libbb/compare_string_array, example usage for e2fsprogs/fsck
2005-11-26 10:33:55 +00:00
"Vladimir N. Oleynik"
4eb2fd6826
more use libbb/bb_msg_read_error
2005-11-25 11:36:36 +00:00
Rob Landley
b4c823211d
Move interface.c to networking directory since it's only used by ifconfig.
2005-11-22 07:52:54 +00:00
Rob Landley
9033453c18
My last change to this file broke tar x. Sigh. (Trying to make sure we work
...
on file sizes between 2 and 4 gigs on 32 bit machines. For supporting >4 gigs,
just use a 64 bit machine already...)
2005-11-12 11:04:11 +00:00
Rob Landley
3fc4ad1478
Fix bug 424: doing full_read breaks things like cat which should return a
...
chunk of data when they get it and not block until they've buffered 4k.
The use case was cat /proc/psaux, but you can also reproduce this by
running non-busybox cat by itself and typing things at the command line.
Then run busybox cat. Notice how cat is _supposed_ to echo each line back
to us as we hit enter?
2005-11-04 01:54:15 +00:00
Rob Landley
21ccbb6c0e
When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.
2005-11-04 01:20:46 +00:00
Rob Landley
2f30932eca
Fix cp /dev/null filename, and a few in-passing cleanups.
2005-11-01 21:55:14 +00:00
Rob Landley
2454ebd85d
Somebody suggested this, but I've forgotten who.
2005-10-27 22:50:04 +00:00
Rob Landley
3c6bfe3e33
Shaun Jackman noted that limits.h defines path_max and isn't included from
...
find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems.
Someday, someone's going to have to clarify for me the difference between
those two...)
2005-10-25 02:22:13 +00:00
"Vladimir N. Oleynik"
0fa9deda17
more const
2005-10-20 09:48:28 +00:00
Bernhard Reutner-Fischer
7547a6e2f6
- don't update copyright years. He might release it, but apparently will have
...
to update the year himself.
2005-10-15 20:56:31 +00:00