This is the mail archive of the cygwin 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: cygcheck's understanding of TZ

On Thu, Jun 09, 2011 at 09:50:02PM +0200, Denis Excoffier wrote:
>On 2011-06-09 21:26, Edward McGuire wrote:
>> [snip]
>> #include <sys/time.h>
>> [snip]
>>  time_t now;
>> [snip]
>>  printf ("\nCygwin Configuration Diagnostics\n");
>>  time (&now);
>>  printf ("Current System Time: %s\n", ctime (&now));
>> It's using C RTL calls. And cygcheck(1) is linked with msvcrt.dll,
>> not GNU, and therefore cygcheck(1) has Microsoft C RTL behavior.
>> Microsoft C RTL does not support the pathname syntax extension;
>> that's a GNU thing.
>Exactly. That's why i suggested to use the UTC time zone (rather than
>an implicit local one), which msvcrt.dll probably is able to provide
>with no bug.
>We also could go a little bit beyond cgf's suggestion in
>(to use `date(1)') and remove completely the `Current System Time:'
>line in `cygcheck -s'.  Already, this time indication is not given
>under the other cygcheck's options.

We're not changing anything.  Having the date there is useful.

Again: you shouldn't use "cygcheck -s" as a method to find the system

Just think of all of the other things that "cygcheck -s" is doing in
addition to displaying the date.  cygcheck is most definitely not
intended for this purpose.


Problem reports:
Unsubscribe info:

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