cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] ccvs/src ChangeLog vers_ts.c [cvs1-11-x-branch]


From: Larry Jones
Subject: [Cvs-cvs] ccvs/src ChangeLog vers_ts.c [cvs1-11-x-branch]
Date: Wed, 12 Dec 2007 20:25:36 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         cvs1-11-x-branch
Changes by:     Larry Jones <scjones>   07/12/12 20:25:36

Modified files:
        src            : ChangeLog vers_ts.c 

Log message:
        * vers_ts.c (time_stamp): Add warnings for [l]stat failures
        other than no such file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/ChangeLog?cvsroot=cvs&only_with_tag=cvs1-11-x-branch&r1=1.2336.2.492&r2=1.2336.2.493
http://cvs.savannah.gnu.org/viewcvs/ccvs/src/vers_ts.c?cvsroot=cvs&only_with_tag=cvs1-11-x-branch&r1=1.43.4.10&r2=1.43.4.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/ChangeLog,v
retrieving revision 1.2336.2.492
retrieving revision 1.2336.2.493
diff -u -b -r1.2336.2.492 -r1.2336.2.493
--- ChangeLog   27 Aug 2007 02:26:51 -0000      1.2336.2.492
+++ ChangeLog   12 Dec 2007 20:25:35 -0000      1.2336.2.493
@@ -1,3 +1,8 @@
+2007-12-12  Larry Jones  <address@hidden>
+
+       * vers_ts.c (time_stamp): Add warnings for [l]stat failures
+       other than no such file.
+
 2007-08-26  Derek Price  <address@hidden>
 
        * mkmodules.c (in_root): Rename to...

Index: vers_ts.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/vers_ts.c,v
retrieving revision 1.43.4.10
retrieving revision 1.43.4.11
diff -u -b -r1.43.4.10 -r1.43.4.11
--- vers_ts.c   12 May 2006 15:17:38 -0000      1.43.4.10
+++ vers_ts.c   12 Dec 2007 20:25:36 -0000      1.43.4.11
@@ -361,6 +361,9 @@
     {
        mtime = sb.st_mtime;
     }
+    else if (! existence_error (errno))
+       error (0, errno, "cannot lstat %s", file);
+
     /* If it's a symlink, return whichever is the newest mtime of
        the link and its target, for safety.
     */
@@ -369,6 +372,9 @@
         if (mtime < sb.st_mtime)
            mtime = sb.st_mtime;
     }
+    else if (! existence_error (errno))
+       error (0, errno, "cannot stat %s", file);
+
     if (mtime)
     {
        struct tm *tm_p;




reply via email to

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