rbb 01/01/23 08:48:56
Modified: . CHANGES
file_io/unix dir.c
Log:
Fix a declaration of dirent to struct dirent in file_io/unix/dir.c
Submitted by: Kevin Pilch-Bisson <[EMAIL PROTECTED]>
Revision Changes Path
1.45 +7 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -b -w -u -r1.44 -r1.45
--- CHANGES 2001/01/20 21:38:03 1.44
+++ CHANGES 2001/01/23 16:48:54 1.45
@@ -1,5 +1,12 @@
Changes with APR b1
+ *) Fix bug in file_io/unix/dir.c. There is no such thing as a dirent,
+ it must be a struct dirent.
+ [Kevin Pilch-Bisson <[EMAIL PROTECTED]>]
+
+ *) Fix the configure script so that we can build from a different
+ directory. [Kevin Pilch-Bisson <[EMAIL PROTECTED]>]
+
*) Introduce the wanted flag argument to the apr_stat/lstat/getfileinfo
family of functions. This change allows the user to determine what
platform-specific file information is retrieved, to optimize both
1.46 +1 -1 apr/file_io/unix/dir.c
Index: dir.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/dir.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -b -w -u -r1.45 -r1.46
--- dir.c 2001/01/23 06:16:48 1.45
+++ dir.c 2001/01/23 16:48:56 1.46
@@ -115,7 +115,7 @@
apr_status_t ret = 0;
#if APR_HAS_THREADS && defined(_POSIX_THREAD_SAFE_FUNCTIONS) \
&& !defined(READDIR_IS_THREAD_SAFE)
- dirent *retent;
+ struct dirent *retent;
ret = readdir_r(thedir->dirstruct, thedir->entry, &retent);