subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1305964 - /subversion/trunk/subversion/svnserve/serve.c
Date Tue, 27 Mar 2012 19:18:52 GMT
Author: stefan2
Date: Tue Mar 27 19:18:52 2012
New Revision: 1305964

URL: http://svn.apache.org/viewvc?rev=1305964&view=rev
Log:
Follow-up to r1296628.

* subversion/svnserve/serve.c
  (get_dir): Send NULL for missing date info instead of "1970-01-01".

Found by: julianfoad

Modified:
    subversion/trunk/subversion/svnserve/serve.c

Modified: subversion/trunk/subversion/svnserve/serve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/serve.c?rev=1305964&r1=1305963&r2=1305964&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/serve.c (original)
+++ subversion/trunk/subversion/svnserve/serve.c Tue Mar 27 19:18:52 2012
@@ -1548,7 +1548,6 @@ static svn_error_t *get_dir(svn_ra_svn_c
   /* Fetch the directory entries if requested and send them immediately. */
   if (want_contents)
     {
-      const char *zero_date = svn_time_to_cstring(0, pool);
       SVN_CMD_ERR(svn_fs_dir_entries(&entries, root, full_path, pool));
 
       /* Transform the hash table's FS entries into dirents.  This probably
@@ -1599,9 +1598,6 @@ static svn_error_t *get_dir(svn_ra_svn_c
                                                        subpool));
             }
 
-          if (cdate == NULL)
-            cdate = zero_date;
-
           /* Send the entry. */
           SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "cwnbr(?c)(?c)", name,
                                          svn_node_kind_to_word(entry.kind),



Mime
View raw message