1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/usr.bin/leave
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
..
leave.1 Check fgets' return value, silent -Wall. 1997-07-21 12:04:31 +00:00
leave.c 1. Don't reject 0145 if started at 22XX. 1998-01-06 17:27:09 +00:00
Makefile 1. Don't reject 0145 if started at 22XX. 1998-01-06 17:27:09 +00:00