aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2005-11-22Move interface.c to networking directory since it's only used by ifconfig.Rob Landley
2005-11-12My last change to this file broke tar x. Sigh. (Trying to make sure we workRob Landley
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-04Fix bug 424: doing full_read breaks things like cat which should return aRob Landley
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-04When cp ran out of space it didn't return a nonzero error code. Fixes bug 493.Rob Landley
2005-11-01Fix cp /dev/null filename, and a few in-passing cleanups.Rob Landley
2005-10-27Somebody suggested this, but I've forgotten who.Rob Landley
2005-10-25Shaun Jackman noted that limits.h defines path_max and isn't included fromRob Landley
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-20more const"Vladimir N. Oleynik"
2005-10-15- don't update copyright years. He might release it, but apparently will haveBernhard Reutner-Fischer
to update the year himself.
2005-10-15- an empty middle term in ?: violates ISO CBernhard Reutner-Fischer
- use shorter boilerplate and use C89 style comments
2005-10-15common BUFSIZ BSS buffer, small reduce code, data and bss"Vladimir N. Oleynik"
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
2005-10-12usage bb_dev_null"Vladimir N. Oleynik"
2005-10-12bb_dev_null"Vladimir N. Oleynik"
2005-10-11- use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"
- more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
2005-10-11The check for EROFS was wrong. For example, if you try to mount a filesystemRob Landley
appended to an executable that's being run (yes, I'm doing this) you get EPERM, but mounting readonly fixes it. Doing the fallback all the time shouldn't hurt, and is one less test.
2005-10-10bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3."Vladimir N. Oleynik"
e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
2005-10-07- size reduction of pidofBernhard Reutner-Fischer
- fix typo in reverse_pidlist
2005-10-06- add llist_free_one() and llist_free() to libbbBernhard Reutner-Fischer
2005-10-06- add llist_free_one() and llist_free() to libbb; Add a bit of documentation.Bernhard Reutner-Fischer
- change llist_add_to_end as proposed by vodz in http://busybox.net/lists/busybox/2005-September/016411.html - remove unneeded includes, add short boilerplate and copyright to llist.c - move COMM_LEN from find_pid_by_name to libbb.h and use it in procps_status_t - add reverse_pidlist() to find_pid_by_name. Will be needed for pidof.
2005-10-05another more correction for getopt_ulflags() documentation (examples)"Vladimir N. Oleynik"
2005-10-05more correction for getopt_ulflags() documentation by author of this fuck logic"Vladimir N. Oleynik"
2005-10-05- add proper separators. sorry for the noise..Bernhard Reutner-Fischer
2005-10-05- add a bit more documentation to vodz' recent additions.Bernhard Reutner-Fischer
2005-10-05update bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group ↵"Vladimir N. Oleynik"
char from bb_opt_complementally is new feature: set argv is options; use new bb_getopt_ulflags for ps # define terminal_width 80->79 for unwide use stdout file descriptor for get_terminal_width_height. (its must)
2005-10-04use updated bb_getopt_ulflags() for ps applet"Vladimir N. Oleynik"
2005-09-29change interface to bb_xasprintf() - more perfect for me."Vladimir N. Oleynik"
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
2005-09-29- rename llist_add_to.c to llist.cBernhard Reutner-Fischer
- move llist_add_to_end() from ifupdown.c to libbb/llist.c
2005-09-26spwd bulid now, (typo)"Vladimir N. Oleynik"
2005-09-25Patch from Amir Shalem to make busybox compile on a uClibc that has no shadowRob Landley
password support.
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-20- consolidated password helpersBernhard Reutner-Fischer
2005-09-20- consolidated password helpers into bb_pwd.cBernhard Reutner-Fischer
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
2005-09-16ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE"Vladimir N. Oleynik"
2005-09-14split libbb: moved xregcomp separatelly for speed up recompile"Vladimir N. Oleynik"
2005-09-14FEATURE->ENABLE_FEATURE loses one for 'top' applet"Vladimir N. Oleynik"
2005-09-07This code exists to compensate for ancient broken build environments which,Rob Landley
as far as I can tell, are no longer relevant. Modern busybox refuses to build under libc5 (there's a specific test and #error for that), and I'm not sure building against 2.1 kernel headers on Alpha was ever relevant. I'm happy to put any of this back if anybody can point to a real need for it, but if so we need to specifically document what environment is being compensated for. (And we should quarrantine the build environment code into one place, anyway. Maybe "quirks.h" for known compiler and libc quirks?)
2005-09-06Amir Shalem writes:Mike Frysinger
this patch fix syscall names mix-up in libb/syscalls.c
2005-09-06- sync traceroute with Slackware-10.1"Vladimir N. Oleynik"
(support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
2005-09-05get_terminal_width_height.c was in there twice.Rob Landley
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-05Actually returning ret might be good.Rob Landley
2005-09-01According to bug #63, crond is unhappy with crontab lines that don't end in aRob Landley
newline, or lines that have trailing spaces.
2005-09-01Bernhard Fischer suggested that get_terminal_width_height() should returnRob Landley
the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...)
2005-08-27make sure __NF_sysfs exists before trying to use itMike Frysinger
2005-08-22Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.Rob Landley
2005-08-16the () around isspace actually mattersMike Frysinger
2005-08-16Bernhard Fischer says: fix comment typoMike Frysinger