POSIX timezone (was Re: date command shows time 20 minutes into future)

David Sastre Medina d.sastre.medina@gmail.com
Mon Jan 30 12:56:00 GMT 2012


On Mon, Jan 30, 2012 at 10:17:31AM +0100, Corinna Vinschen wrote:
> Oops, the csh version will result in an error message "setenv: Too many
> arguments." The reason is the equal sign in the setenv call, which is
> wrong.  That should be
> 
>   setenv LANG `locale -sU`
> 
> For tzset.sh and tzset.csh I would suggest something similar:
> 
>   test -z "$TZ" && export TZ=$(tzset)
> 
>   if ( $?TZ == 0 ) setenv TZ `tzset`
> 
> 
> Thanks,
> Corinna

Fixed locally. Thank you.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin-developers/attachments/20120130/6b020616/attachment.sig>


More information about the Cygwin-developers mailing list