Subject: Re: date(1) patch to alow timezone to be specified
To: Scott Aaron Bamford <sab@ansic.net>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 04/30/2000 21:18:13
minor nit:
>+ if((tzfd = open(tzone, O_RDONLY)) < 0) {
>+ close(tzfd);
>+ free(tzone);
>+ badzone();
>+ }
access(2) would be much better here. that's what it's for instead of
open(2)/close(2).
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
andrew@crossbar.com * "information is power -- share the wealth."