Xin LI
39aa7c9d16
Correct some style nits that I have mistakenly submitted as
...
suggestions which result in the last revision[*]:
- style(9) and sysexits(3) suggests that we use EX_*
as exit values, instead of some other values like
those returned from a system call as errno.
Additionally, follow Ruslan's suggestion about style(9) and
other style improvements:
- Since open(2) says that it returns -1 on errors,
explicitly determine whether it is returning -1
rather than whether the return value is less than
zero.
- Only set rval when there is no previous error.
This distinguishes the first error that occours.
- Use exit() in favor of return in main(), this is
suggested in old style(9), while the evolve has
fade the suggestion.
- Add some NOTREACHED comments.
- Add blank line after first { because no local variables
in usage()
Thanks to Ruslan for his tireless explaining of the code standards
and knowledge of the history of style(9).
[*] Pointy hat to: me
Submitted by: ru (with some minor changes)
Discussed with: ru, ssouhlal
2005-01-26 15:17:25 +00:00
..
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-09-24 22:10:34 +00:00
2005-01-25 22:24:04 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-12-21 08:47:35 +00:00
2004-07-02 22:22:35 +00:00
2005-01-14 09:21:54 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2005-01-25 22:32:48 +00:00
2004-11-13 20:40:32 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-25 01:35:02 +00:00
2005-01-25 22:32:48 +00:00
2005-01-17 07:44:44 +00:00
2005-01-25 22:32:48 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-09-26 09:38:08 +00:00
2004-12-21 08:47:35 +00:00
2005-01-07 00:12:24 +00:00
2004-11-05 10:18:05 +00:00
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2004-07-02 22:22:35 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-12-28 12:29:06 +00:00
2005-01-25 14:07:25 +00:00
2005-01-18 13:43:56 +00:00
2004-08-02 11:12:13 +00:00
2004-08-02 11:15:01 +00:00
2005-01-18 13:43:56 +00:00
2005-01-26 15:17:25 +00:00
2004-02-05 22:44:25 +00:00
2004-11-27 06:46:48 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-10-05 23:49:27 +00:00
2005-01-17 07:44:44 +00:00
2004-07-02 22:22:35 +00:00
2005-01-17 07:44:44 +00:00
2004-09-26 09:38:08 +00:00
2005-01-17 07:44:44 +00:00
2004-09-19 20:34:30 +00:00
2004-07-02 22:22:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-09-19 14:54:35 +00:00
2004-07-03 00:24:45 +00:00
2004-02-04 11:59:08 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-09-27 05:56:57 +00:00
2004-08-12 11:34:34 +00:00
2005-01-18 13:43:56 +00:00
2004-07-26 19:59:29 +00:00
2004-06-29 21:13:15 +00:00
2004-04-17 07:48:21 +00:00
2004-12-21 08:47:35 +00:00
2004-12-21 09:33:47 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 20:54:50 +00:00
2005-01-18 13:43:56 +00:00
2004-07-02 22:22:35 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2004-11-03 18:01:21 +00:00
2004-03-06 23:36:41 +00:00
2005-01-25 14:22:20 +00:00
2005-01-17 07:44:44 +00:00
2004-07-03 00:24:45 +00:00
2005-01-24 20:06:16 +00:00
2005-01-17 07:44:44 +00:00
2004-05-19 09:51:31 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-07-02 22:22:35 +00:00
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-21 10:48:35 +00:00
2004-03-14 05:51:20 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 17:45:38 +00:00
2004-07-03 00:24:45 +00:00
2005-01-11 10:32:52 +00:00
2004-07-02 22:22:35 +00:00
2005-01-23 12:29:46 +00:00
2005-01-17 07:44:44 +00:00
2004-11-13 20:40:32 +00:00
2004-07-11 17:37:33 +00:00
2005-01-18 13:43:56 +00:00
2005-01-25 22:32:48 +00:00
2005-01-17 07:44:44 +00:00
2004-09-26 09:38:08 +00:00
2004-09-26 06:36:11 +00:00
2004-11-03 18:01:21 +00:00
2004-11-03 18:01:21 +00:00
2005-01-21 10:48:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-11-13 17:12:22 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-12-15 06:24:57 +00:00
2005-01-21 11:09:40 +00:00
2005-01-15 11:20:51 +00:00
2004-03-11 10:22:25 +00:00
2004-07-30 00:10:52 +00:00
2005-01-21 11:22:34 +00:00
2004-07-04 20:55:50 +00:00
2004-07-02 22:22:35 +00:00
2004-07-04 20:55:50 +00:00
2004-07-04 20:55:50 +00:00
2004-07-03 00:24:45 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-11 10:32:52 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-07-02 22:22:35 +00:00
2005-01-17 07:44:44 +00:00
2004-12-21 10:16:04 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2004-05-06 13:25:09 +00:00
2004-08-16 07:51:22 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2004-10-24 15:33:08 +00:00
2005-01-18 13:43:56 +00:00
2004-07-03 01:28:21 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-03-09 11:35:43 +00:00
2005-01-18 13:43:56 +00:00
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2005-01-18 13:43:56 +00:00
2004-10-18 17:16:01 +00:00
2004-07-02 22:25:40 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-07-17 04:15:27 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2004-07-15 08:13:56 +00:00
2005-01-18 13:43:56 +00:00
2005-01-17 07:44:44 +00:00
2004-12-11 13:14:54 +00:00
2005-01-18 13:43:56 +00:00
2005-01-05 11:52:40 +00:00
2005-01-17 07:44:44 +00:00
2005-01-25 14:34:57 +00:00
2004-12-21 08:47:35 +00:00
2005-01-18 13:43:56 +00:00
2005-01-18 13:43:56 +00:00
2004-07-02 22:22:35 +00:00
2004-12-21 10:16:04 +00:00