martin 98/10/28 11:34:00
Modified: src CHANGES
src/modules/standard mod_autoindex.c
Log:
For files where the last modified time stamp was unavailable (e.g., broken
symlinks), an empty string was printed which was 2 bytes short.
The size and description columns were therefore not aligned correctly.
(This is a remainder of the %y to %Y fix: the two missing spaces are
for the century)
Revision Changes Path
1.1128 +5 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.1127
retrieving revision 1.1128
diff -u -r1.1127 -r1.1128
--- CHANGES 1998/10/28 19:26:29 1.1127
+++ CHANGES 1998/10/28 19:33:52 1.1128
@@ -1,5 +1,10 @@
Changes with Apache 1.3.4
+ *) Fix in mod_autoindex: for files where the last modified time stamp was
+ unavailable, an empty string was printed which was 2 bytes short.
+ The size and description columns were therefore not aligned correctly.
+ [Martin Kraemer] (no PR#)
+
*) Update BS2000 OS code to work with recent versions. Starting with
release A17, the child fork() must be replaced by a _rfork().
(BS2000 only) [Martin Kraemer]
1.98 +2 -1 apache-1.3/src/modules/standard/mod_autoindex.c
Index: mod_autoindex.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_autoindex.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- mod_autoindex.c 1998/10/17 14:17:10 1.97
+++ mod_autoindex.c 1998/10/28 19:33:57 1.98
@@ -1176,7 +1176,8 @@
ap_rputs(time_str, r);
}
else {
- ap_rputs(" ", r);
+ /*Length="22-Feb-1998 23:42 " (see 4 lines above) */
+ ap_rputs(" ", r);
}
}
if (!(autoindex_opts & SUPPRESS_SIZE)) {