Commit Graph

79 Commits (3160589d86470ce7d20c81090fb7f211b3822053)

Author SHA1 Message Date
Sami Kerola 3160589d86
various: use threadsafe versions of time functions [lgtm scan] 3 years ago
Karel Zak d3149a8556 rtcwake: terminate mode and excl[] 4 years ago
Karel Zak 2c308875a7 misc: consolidate version printing and close_stdout() 4 years ago
Justin Chen e1686b25ac rtcwake: use poweroff if shutdown is not found 4 years ago
Sami Kerola c8ff2e5562 rtcwake: wait stdin to settle down before entering a system sleep 5 years ago
Karel Zak e72027dada rtcwake: fix sys vs. rtc time delta usage 5 years ago
Ruediger Meier f45f3ec34a misc: consolidate macro style USAGE_HELP_OPTIONS 5 years ago
Ruediger Meier b1a294c448 misc: introduce print_usage_help_options() 6 years ago
Ruediger Meier 9325dbfd20 misc: cleanup and fix --unknownopt issues 6 years ago
Sami Kerola 8791804065 misc: do not use plain 0 as NULL [smatch scan] 6 years ago
Karel Zak a325f3c206 rtcwake: make sure buffer is zero terminated [coverity scan] 6 years ago
Sami Kerola 984a60965a
misc: always check setenv(3) return value 6 years ago
Sami Kerola eb2306e675
misc: fix declarations shadowing variables in the global scope [oclint] 6 years ago
Sami Kerola 74ce680a3e
misc: simplify if clauses [oclint] 6 years ago
Sebastian Rasmussen 9e93004171 misc: Fix various typos 7 years ago
Ruediger Meier eaac9f88f9 misc: fix some includes 7 years ago
Karel Zak 6b497c0e19 rtcwake: improve open() usage [coverity scan] 7 years ago
Karel Zak f078134257 rtcwake: cosmetic changes 8 years ago
Karel Zak bac778c06a rtcwake: fix ARRAY_SIZE() usage 8 years ago
Karel Zak 2626f123a5 rtcwake: don't use usage() on error 8 years ago
Sami Kerola 76037ac7d8 rtcwake: fix valgrind warning 8 years ago
Sami Kerola f87b73ab44 rtcwake: read accepted mode strings from /sys/power/state 8 years ago
Sami Kerola 254e9e58b7 rtcwake: make some command line options mutually exclusive 8 years ago
Sami Kerola 5b4185e17d rtcwake: improve coding style 8 years ago
Sami Kerola 43a44bfc6d rtcwake: add --list-modes 8 years ago
Sami Kerola 067fde32c9 rtcwake: do not overwrite device name 8 years ago
Sami Kerola 499a0c7956 rtcwake: clean up struct tm initializations 8 years ago
Sami Kerola 356b2989ae rtcwake: fix preprocessor redefinition 8 years ago
Sami Kerola a10ce9a3e5 rtcwake: add human readable --date timestamp format 8 years ago
Sami Kerola 3e5a54554d rtcwake: improve read_clock_mode() 8 years ago
Sami Kerola 5fde2f0d34 rtcwake: remove RTC_ALM_READ and RTC_ALM_SET compatibility 8 years ago
Sami Kerola 64a8067835 rtcwake: replace long if else statement with switch case 8 years ago
Sami Kerola 6e1ec14faf rtcwake: enumerate constant mode strings 8 years ago
Sami Kerola 71d95e92c1 rtcwake: add rtcwake_control and remove global variables 8 years ago
Ruediger Meier f205c90a72 build: fix printf warnings for icc (-Wformat-security) 8 years ago
Benno Schulenberg 451dbcfae1 textual: add a docstring to most of the utilities 8 years ago
Sami Kerola f627750083 textual: use version printing macro everywhere 8 years ago
Karel Zak a5bd793996 include/c.h: prefer nanosleep() over usleep() 9 years ago
Mike Frysinger caf60f22fb rtcwake: pass -h to shutdown 10 years ago
Karel Zak ece44f19f4 rtcwake: add support for "freeze" mode 10 years ago
Karel Zak 49ebda9b89 rtcwake: add --auto to usage() 10 years ago
Karel Zak 09e092ad5c rtcwake: clean up usage 10 years ago
Karel Zak 7528fae9e9 include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME 10 years ago
Karel Zak 3a2f3e82bb rtcwake: add --adjfile command line option 10 years ago
Sami Kerola 07ff972eb6 translation: unify exec error messages 10 years ago
Benno Schulenberg 217615e8ed textual: standardize reporting of program name plus package version 10 years ago
Karel Zak 2a31396a9c include/c: move usleep() fallback to c.h 10 years ago
Giacomo 829eab67e6 rtcwake: doesn't reset wakealarm 10 years ago
Sami Kerola 289dcc9023 translation: unify file open error messages 11 years ago
Karel Zak 20a3998222 sys-utils: cleanup strtoxx_or_err() 11 years ago