Commit Graph

17 Commits

Author SHA1 Message Date
Sheldon Hearn
e1b4d8d074 Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
Dima Dorfman
f6751868e4 Set WARNS=2 on programs that compile cleanly with it; add $FreeBSD$
where necessary.

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-30 05:39:36 +00:00
Dima Dorfman
948a3f54a7 Include missing header files which define functions for which gcc has
builtins (e.g., exit).

Submitted by:	Mike Barcroft <mike@q9media.com>
2001-06-24 19:41:18 +00:00
Dima Dorfman
dd512c47f1 Don't claim to ignore interrupts.
PR:		27747
Submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2001-05-30 02:39:53 +00:00
Dima Dorfman
9b1fd3272e Remove home-grown prototypes of time() and localtime().
Reviewed by:	md5(1)
2001-05-30 02:38:10 +00:00
Kris Kennaway
345edac558 Call usage() if given more than 1 argument.
Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-04-24 10:39:17 +00:00
Ruslan Ermilov
c7368f9305 mdoc(7) police: simplify construct. 2001-02-06 16:20:31 +00:00
Philippe Charnier
11458b9601 Get rid of hard sentence break
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
Philippe Charnier
3bd17b58bc Add .Nm.
Options: -> The following options are available:
2000-03-26 14:27:19 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Nik Clayton
3be5f1f5ce Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:24:20 +00:00
Steve Price
2a453c238f Don't let secs variable wrap if <= 2.
PR:		6290
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
Wolfgang Helbig
2d3b8b64a8 1. Don't reject 0145 if started at 22XX.
Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with
   some stylistic changes. Thanks.
2. #include <sys/time.h> -> #include <time.h>
3. Removed #include <sys/param.h>
4. Use setlocale(3) and strftime(3) instead of ctime(3).
5. Clean up -Wall warnings.
6. Make sure, time to leave are integral minutes if the argument
   is absolute. (i. e. without "+"). If started at 10:10:55 with
   argument "1020" it computed time to leave as 10:20:55 instead of
   10:20:00.

PR:		5395
1998-01-06 17:27:09 +00:00
Philippe Charnier
492dbf7344 Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
Bruce Evans
719075aa83 This commit was generated by cvs2svn to compensate for changes in r27227,
which included commits to RCS files with non-trunk default branches.
1997-07-06 03:45:58 +00:00
Bruce Evans
756ae49fe0 Import Lite2's src/usr.bin/leave. The man page is still on the vendor
branch and this import just makes a cosmetic change.
1997-07-06 03:45:58 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00