You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2001/03/30 18:15:47 UTC
cvs commit: apache-1.3/src/os/netware os.c
bnicholes 01/03/30 08:15:47
Modified: src/os/netware os.c
Log:
no message
Revision Changes Path
1.14 +27 -0 apache-1.3/src/os/netware/os.c
Index: os.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/netware/os.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- os.c 2001/02/27 03:59:53 1.13
+++ os.c 2001/03/30 16:15:46 1.14
@@ -297,3 +297,30 @@
return 1;
}
+#undef opendir_411
+DIR *os_opendir (const char *pathname)
+{
+ DIR *d = opendir_411 (pathname);
+
+ if (d) {
+ strcpy (d->d_name, "<<**");
+ }
+ return d;
+}
+
+#undef readdir_411
+DIR *os_readdir (DIR *dirP)
+{
+ if ((dirP->d_name[0] == '<') && (dirP->d_name[2] == '*')) {
+ strcpy (dirP->d_name, ".");
+ strcpy (dirP->d_nameDOS, ".");
+ return (dirP);
+ }
+ else if ((dirP->d_name[0] == '.') && (dirP->d_name[1] == '\0')) {
+ strcpy (dirP->d_name, "..");
+ strcpy (dirP->d_nameDOS, "..");
+ return (dirP);
+ }
+ else
+ return readdir_411 (dirP);
+}
Re: cvs commit: apache-1.3/src/os/netware os.c
Posted by David Reid <dr...@jetnet.co.uk>.
Can you give a message with some description of the changes in future
commits? Ta.
david
> bnicholes 01/03/30 08:15:47
>
> Modified: src/os/netware os.c
> Log:
> no message
>