On Tue, Jun 3, 2014 at 8:31 AM, Jason McIntyre <j...@kerhand.co.uk> wrote:
> On Tue, Jun 03, 2014 at 08:24:05AM -0700, Philip Guenther wrote: > > On Tue, Jun 3, 2014 at 7:05 AM, Jason McIntyre <j...@cvs.openbsd.org> > wrote: > > > > > CVSROOT: /cvs > > > Module name: src > > > Changes by: j...@cvs.openbsd.org 2014/06/03 08:05:30 > > > > > > Modified files: > > > usr.bin/touch : touch.1 > > > > > > Log message: > > > no support for TZ; > > > > > > > Hmm? Works for me: > > > > : morgaine; TZ=UTC touch -t 01010101 /tmp/fooutc > > : morgaine; touch -t 01010101 /tmp/foolt > > : morgaine; l /tmp/foo* > > -rw-rw-r-- 1 guenther wheel 0 Jan 1 01:01 /tmp/foolt > > -rw-rw-r-- 1 guenther wheel 0 Dec 31 17:01 /tmp/fooutc > > : morgaine; > > > > > > Philip Guenther > > > > grep showed nothing so i thought it ignored it. so i'm wrong and i > should uncommit? > Yep. (Many of the variables in environ(5) are handled mostly or completely by the involved library calls and won't necessarily show up in the binary's own code: localtime()/ctime() use TZ, glob() uses HOME, tempnam() uses TMPDIR, system() uses SHELL, and libcurses/libtermcap use TERM*.)