Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sleep



Module Name:    src
Committed By:   hubertf
Date:           Sat Aug 18 00:41:52 UTC 2007

Modified Files:
        src/bin/sleep: sleep.1 sleep.c

Log Message:
- Cleanup for sleep.c:
  + mark two functions as static
  + remove case '?' in switch() before default
  + use return instead of exit() in main() function
  + use constants EXIT_SUCCESS/EXIT_FAILURE instead of 0/1

- In man sleep(1):
  + cleanup example

Patch submitted by Slava Semushin <php-coder%altlinux.ru@localhost> in private 
email.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/bin/sleep/sleep.1
cvs rdiff -r1.20 -r1.21 src/bin/sleep/sleep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index