summaryrefslogtreecommitdiff
path: root/util-linux/getopt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-271-2/+2
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-261-1/+1
|
* 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.
* getopt: fix whitespace damageDenis Vlasenko2006-09-221-14/+14
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-9/+3
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-21/+1
| | | | - use shorter boilerplate while at it
* Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley2006-03-101-3/+5
| | | | the busybox binary) into enums (which don't).
* just whitespaceTim Riker2006-01-251-228/+228
|
* more const, attribute_noreturn saved 200 bytes"Vladimir N. Oleynik"2005-10-191-8/+8
|
* Fix the warnings, and fix the following two obvious segfaults:Rob Landley2005-09-051-10/+7
| | | | | | | | | | | ./busybox getopt -n one -n two woot ./busybox getopt -o one -o two woot This entire applet is still an enormous pile of garbage, which I can't clean up because I really have no idea what it's for. (Both "man getopt" and trying it out on the command line a bit fail to enlighten me. Reading the code, the fact half of it seems to be special cases for bash vs tcsh does not fill me with confidence.)
* Patch from Felipe Kellermann, remove some unnecessary dups, i declared a few ↵Glenn L McGrath2004-09-141-4/+4
| | | | extra const's also.
* Larry Doolittle writes:Eric Andersen2004-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Major coreutils update.Manuel Novoa III2003-03-191-11/+11
|
* Change if(x)free(x); to free(x);Aaron Lehmann2002-11-281-6/+3
|
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl2002-07-191-17/+9
| | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
* Applied patch from Larry Doolittle to remove some strlen calls, and add oneMark Whitley2001-04-231-7/+10
| | | | paranoia check to avoid buffer underrun. Saves 120 text bytes.
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-11/+10
| | | | namespace polluting things that really should be static.
* 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.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-4/+4
|
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-3/+3
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-5/+5
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]Mark Whitley2000-10-191-16/+0
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org>Eric Andersen2000-08-211-0/+416
-Erik