Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 1998 09:27:10 -0800 (PST)
From:      Wolfgang Helbig <helbig@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG
Subject:   cvs commit: src/usr.bin/leave Makefile leave.c
Message-ID:  <199801061727.JAA04043@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
helbig      1998/01/06 09:27:10 PST

  Modified files:
    usr.bin/leave        Makefile leave.c 
  Log:
  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
  
  Revision  Changes    Path
  1.2       +2 -0      src/usr.bin/leave/Makefile
  1.3       +35 -14    src/usr.bin/leave/leave.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801061727.JAA04043>