(svn r2076) Set the name for the parent directory to ".."
authortron
Sat, 26 Mar 2005 18:04:42 +0000
changeset 1572 6d0111113f0b
parent 1571 2324eb301f5d
child 1573 9c2cb03d1766
(svn r2076) Set the name for the parent directory to ".."
os2.c
unix.c
win32.c
--- a/os2.c	Sat Mar 26 12:08:56 2005 +0000
+++ b/os2.c	Sat Mar 26 18:04:42 2005 +0000
@@ -104,6 +104,7 @@
 		fios = FiosAlloc();
 		fios->type = FIOS_TYPE_PARENT;
 		fios->mtime = 0;
+		strcpy(fios->name, "..");
 		strcpy(fios->title, ".. (Parent directory)");
 	}
 
--- a/unix.c	Sat Mar 26 12:08:56 2005 +0000
+++ b/unix.c	Sat Mar 26 18:04:42 2005 +0000
@@ -90,6 +90,7 @@
 		fios = FiosAlloc();
 		fios->type = FIOS_TYPE_PARENT;
 		fios->mtime = 0;
+		strcpy(fios->name, "..");
 		strcpy(fios->title, ".. (Parent directory)");
 	}
 
--- a/win32.c	Sat Mar 26 12:08:56 2005 +0000
+++ b/win32.c	Sat Mar 26 18:04:42 2005 +0000
@@ -1597,6 +1597,7 @@
 		fios = FiosAlloc();
 		fios->type = FIOS_TYPE_PARENT;
 		fios->mtime = 0;
+		strcpy(fios->name, "..");
 		strcpy(fios->title, ".. (Parent directory)");
 	}