From ed587dfb329fb9686b71bc799d96629e52d4d3d3 Mon Sep 17 00:00:00 2001 From: helbig Date: Tue, 6 Jan 1998 17:27:09 +0000 Subject: 1. Don't reject 0145 if started at 22XX. Applied suggested fix from Andrew Andrew with some stylistic changes. Thanks. 2. #include -> #include 3. Removed #include 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 --- usr.bin/leave/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.bin/leave/Makefile') diff --git a/usr.bin/leave/Makefile b/usr.bin/leave/Makefile index 87a6ac3..4c61291 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 -- cgit v1.1