summaryrefslogtreecommitdiff
path: root/coreutils/uname.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' into mergeRon Yorston2014-03-111-4/+6
|\
| * uname: fix up usage documentationMike Frysinger2014-01-311-4/+6
| | | | | | | | | | | | | | The -i/-o options were missing, and the -r/-s/-v options were incorrectly labeled as "OS" instead of "kernel". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | Simplify MINGW32 support in uname.cRon Yorston2012-03-261-10/+8
| |
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-221-1/+0
|\| | | | | | | | | Conflicts: procps/ps.c
| * *: remove "Options:" string from help textsDenys Vlasenko2011-06-051-1/+0
| | | | | | | | | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into mergeRon Yorston2012-03-221-0/+17
|\|
| * move help text from include/usage.src.h to coreutils/*.cPere Orga2011-03-311-0/+17
| | | | | | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Implementation of uname for WIN32Ron Yorston2012-02-091-0/+8
|/
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more C standard compat fixes from Dan FandrichDenys Vlasenko2009-09-061-1/+2
| | | | | | | function old new delta docolon 207 204 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: implement -d --date (our own testsuite needs that)Denys Vlasenko2009-07-181-2/+2
| | | | | | | | | | | | | | | function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTSDenys Vlasenko2009-06-191-2/+2
| | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: mass renaming of USE_XXXX to IF_XXXXDenis Vlasenko2009-04-211-1/+1
| | | | | | and SKIP_XXXX to IF_NOT_XXXX - the second one was especially badly named. It was not skipping anything!
* uname: correct cut/paste errorDenis Vlasenko2009-03-151-2/+2
| | | | | | | | | | | touch: add long options function old new delta static.longopts 137 162 +25 touch_main 221 231 +10 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0) Total: 35 bytes
* uname: support long optionsDenis Vlasenko2009-03-141-0/+16
|
* uname: use wider integer for option bitsDenis Vlasenko2009-01-191-1/+1
|
* uname: add support for -i and -o, fix printing of unknown -pDenis Vlasenko2009-01-191-33/+72
| | | | | | | | | | | | value with -a option function old new delta uname_main 166 185 +19 utsname_offset 12 16 +4 options 621 623 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 25/0) Total: 25 bytes
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-1/+1
|
* uname,individual: fix improper printf usageDenis Vlasenko2008-07-021-22/+19
| | | | | | | | | | | | uname,awk: small code shrink function old new delta uname_main 175 166 -9 nvalloc 167 157 -10 evaluate 6381 6370 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
* - fix trivial exploit vector when setXidNed Ludd2008-07-021-1/+1
|
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* introduce bb_putchar(). saves ~1800 on uclibc (less on glibc).Denis Vlasenko2007-09-271-2/+2
|
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-2/+2
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* delete tons of extra #includesDenis Vlasenko2007-05-311-6/+0
|
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* remove bb_printf and the likeDenis Vlasenko2006-10-261-3/+3
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-15/+4
|
* just whitespaceTim Riker2006-01-251-1/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-16/+22
|
* Work around compiler/assembler problem and reduce code size at the same time.Manuel Novoa III2002-03-251-4/+9
|
* Eliminate extra trailing spaceEric Andersen2002-03-201-3/+2
|
* Combined size reduction changes by Glenn and myself. Added back in "unknown"Manuel Novoa III2001-12-051-96/+48
| | | | for -p to match normal uname behavior (at a cost of 30-40 bytes).
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupEric Andersen2001-03-091-0/+1
| | | | | warnings with glibc 2.2 and use always use xfopen -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+1
| | | | | | | 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
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-6/+6
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-2/+2
|
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-18/+0
|
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Fix touch so it behaves itself (it could segfault in some cases).Eric Andersen2000-06-021-2/+2
| | | | | Fix uname help info formatting. -Erik
* - grep -v ^\.PHONY < MakefileJohn Beppu2000-04-171-1/+4
| | | | | | | + busybox.def.h BB_FEATURE_TRIVIAL_HELP + uname.c has an example of how BB_FEATURE_TRIVIAL_HELP is to be applied.
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-68/+71
| | | | -Erik
* Updates to usage, and made tar work.Eric Andersen1999-11-101-2/+3
| | | | -Erik
* StufEric Andersen1999-10-261-0/+165