bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modification date lossage


From: Larry Jones
Subject: Re: modification date lossage
Date: Sun, 19 May 2002 17:53:44 -0400 (EDT)

Aubrey Jaffer writes:
> 
> I found more than a dozen uses of CVS_LSTAT in the cvs-1.11.2 source, so
> use of lstat() appears deliberate.  Why does CVS use lstat() instead of
> stat()?

In almost all cases, lstat() is used only when PreservePermissions
support is enabled.  PreservePermissions, in addition to preserving
permissions, manages symlinks as symlinks (i.e., it tracks the link
itself and where it points rather than tracking the file it points to). 
The code is notoriously buggy, however, and has been disabled by default
for quite a while.

-Larry Jones

If I get a bad grade, it'll be YOUR fault for not doing the work for me!
-- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]