You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/11/02 17:13:51 UTC
cvs commit: apache-2.0/src/lib/apr/file_io/unix fileacc.c
rbb 00/11/02 08:13:46
Modified: src/lib/apr/file_io/unix fileacc.c
Log:
Get APR building on Unix again. Only Windows has the union in the
apr_file_t structure.
Revision Changes Path
1.36 +3 -1 apache-2.0/src/lib/apr/file_io/unix/fileacc.c
Index: fileacc.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/fileacc.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- fileacc.c 2000/11/02 15:23:33 1.35
+++ fileacc.c 2000/11/02 16:13:41 1.36
@@ -91,8 +91,10 @@
return APR_ENAMETOOLONG;
}
else
-#endif
*fname = apr_pstrdup(thefile->cntxt, thefile->n.fname);
+#else
+ *fname = apr_pstrdup(thefile->cntxt, thefile->fname);
+#endif
return APR_SUCCESS;
}