summaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unneeded code removed, usused field "unsigned pscpu" removedDenis Vlasenko2006-11-011-1/+1
|
* mostly style fixesDenis Vlasenko2006-11-011-68/+63
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-4/+4
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-4/+4
| | | | | | | | 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.
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-271-1/+0
|
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer2006-05-261-2/+2
| | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-2/+2
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* - use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:Bernhard Reutner-Fischer2006-03-311-21/+10
| | | | | | text data bss dec hex filename 1307 0 0 1307 51b util-linux/hwclock.o.oorig 1255 0 0 1255 4e7 util-linux/hwclock.o
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-5/+5
|
* - new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"2005-10-141-1/+1
| | | | | - 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
* - use complementally '!' to '?' - 'ask' is best 'free' char for this."Vladimir N. Oleynik"2005-10-111-1/+1
| | | | | - 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.
* allow people to adjtime locationMike Frysinger2005-09-281-2/+6
|
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-5/+1
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger2005-05-111-1/+1
| | | | (BB_GETOPT_ERROR)
* minor style touchupsMike Frysinger2005-04-161-8/+8
|
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Some corrections from vodz:Robert Griebl2004-03-221-11/+6
| | | | | - Make -u/-l mutually exclusive - Minor size reduction
* The utc variable was not modified according to the -u/-l command lineRobert Griebl2004-03-211-2/+8
| | | | parameters.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-19/+19
|
* Patch from Thomas Frohlich to fix an option ordering bug of mine.Glenn L McGrath2004-03-101-3/+3
|
* Use bb_getopt_ulflags, marginal saving, better argument checking.Glenn L McGrath2004-02-221-68/+41
|
* Use /var/lib/hwclock for adjtime, its really a state file rather than aGlenn L McGrath2004-02-221-3/+1
| | | | config file, so it should be in /etc, FHS mentions it also.
* Removed some debug printfsRobert Griebl2003-08-261-4/+0
|
* Major coreutils update.Manuel Novoa III2003-03-191-9/+9
|
* > Eliminate dependancy on kernel header files. Naughty naughty.Robert Griebl2003-01-021-2/+15
| | | | | | | | | > Using linux kernel headers is a Bad Thing(tm) and should be > punished. > -Erik Doing this wrong should be punished even harder :) - Robert
* Eliminate dependancy on kernel header files. Naughty naughty.Eric Andersen2002-12-111-1/+6
| | | | | | Using linux kernel headers is a Bad Thing(tm) and should be punished. -Erik
* - updated a few copyright/left file headersRobert Griebl2002-08-051-2/+17
| | | | - documented most of my 0.61 changes in the ChangeLog
* Initial checkin of a very primitive hwclock replacementRobert Griebl2002-07-211-0/+229