delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/14/13:48:59

X-Spam-Check-By: sourceware.org
Message-ID: <ec79d7610604141048g6cd9488ayb49ee7619c7d1366@mail.gmail.com>
Date: Fri, 14 Apr 2006 13:48:42 -0400
From: "Antoine Solomon" <asolomon15 AT gmail DOT com>
To: cygwin AT cygwin DOT com, "Igor Peshansky" <pechtcha AT cs DOT nyu DOT edu>
Subject: Re: cygdrive uses incorrect date
In-Reply-To: <Pine.GSO.4.63.0603301723410.16543@access1.cims.nyu.edu>
MIME-Version: 1.0
References: <ec79d7610603301351l89bd38r5d1085937e4ef147 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0603301723410 DOT 16543 AT access1 DOT cims DOT nyu DOT edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k3EHmsmX026575

Hello all,
are there any instructions on how to rebuild the cygwin.dll ?   this
1969 problem on windows2000 is a serious problem because of our
license server is unable to check the date on /cygdrive/.   Also
current time on my windows systems are all in the GMT eastern time.

Thanks,
Antoine

I am surprised to see that the 1969 issue occured in a  fresh install
of cygwin..  It is somewhat

On 3/30/06, Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Thu, 30 Mar 2006, Antoine Solomon wrote:
>
> > Hello all,
> > I have a serious problem with the date on "/cygdrive/" mount point.  I
> > seem to get microsoft date function crash when running particular
> > applications.
> > The date function is called _loctotime() and it appears to be an
> > internal function for windows.   Also here is the output of that
> > particular directory and as you can see this is really screwed up.
> > dr-xr-xr-x    6 0               0 Dec 31  1969 cygdrive
> >
> > Can I change the date?  Touch doesn't work, I tried:-(
>
> You cannot change the date, as /cygdrive is a virtual filesystem, and its
> stats are set within the main Cygwin DLL (you can, of course, patch
> Cygwin and rebuild the DLL).
>
> Now, the above date is equivalent to the value 0 of the "date" field
> ("1970-01-01, 00:00 GMT", converted to your time zone).  Funnily enough,
> if you were in the GMT+k timezones, you would probably not have this
> problem.
>
> The main question is: how does the Microsoft date function even get to see
> the date on /cygdrive?  /cygdrive is not visible to non-Cygwin
> applications (unless it's a real directory, in which case its date as seen
> by Windows would be very different from the one seen by Cygwin).
>
> At this point, the standard <http://cygwin.com/acronyms/#PPAST> request is
> in order.  Please make sure your test case is (a) small, (b) complete
> (i.e., builds OOTB using standard Cygwin tools), and (c) exhibits the
> problem.
>         Igor
> --
>                                 http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_            pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
> ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
>      |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough in
> that!" -- Rostand, "Cyrano de Bergerac"
>


--
Antoine W. Solomon Jr.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019