This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]