diff options
author | Wolfgang Helbig <helbig@FreeBSD.org> | 1998-01-06 17:27:09 +0000 |
---|---|---|
committer | Wolfgang Helbig <helbig@FreeBSD.org> | 1998-01-06 17:27:09 +0000 |
commit | 2d3b8b64a8324d97a4553846cd38cc7f8ee26466 (patch) | |
tree | 4cb718728529408a290e41ad73bdfdb4daaa82a5 /usr.bin/leave/Makefile | |
parent | 232e69fdfabf622d8a13c3ff894b2f90982ea3cd (diff) |
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
Notes
Notes:
svn path=/head/; revision=32295
Diffstat (limited to 'usr.bin/leave/Makefile')
-rw-r--r-- | usr.bin/leave/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/leave/Makefile b/usr.bin/leave/Makefile index 87a6ac30cae1..4c6129171217 100644 --- a/usr.bin/leave/Makefile +++ b/usr.bin/leave/Makefile @@ -1,5 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $Id$ PROG= leave +CFLAGS+=-Wall .include <bsd.prog.mk> |