summaryrefslogtreecommitdiff
path: root/fstests/fstests.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-03-05 01:28:59 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-03-05 01:28:59 +0000
commit7c66508fb414b4d9271e0772c67d4e6383d912e2 (patch)
treeb1de113bbc40a1f56124d5f7ef12bac7e98cdfd6 /fstests/fstests.c
parentf982f85f5c0fabb2e766267d9ce41be538f37407 (diff)
doc/
2002-03-05 Marcus Brinkmann <marcus@gnu.org> * hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. fstests/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fstests.c (main): Call dir_lookup, not dir_pathtrans. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. hurd/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments. * fsys.defs: Likewise. * hurd_types.h (enum retry_type): Likewise. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. libdiskfs/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. libfshelp/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
Diffstat (limited to 'fstests/fstests.c')
-rw-r--r--fstests/fstests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c
index 7611bce1..5e72f0b0 100644
--- a/fstests/fstests.c
+++ b/fstests/fstests.c
@@ -1,5 +1,5 @@
/* Test filesystem behavior
- Copyright (C) 1993,94,2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -59,9 +59,9 @@ main ()
#if 0
if ((err = dir_unlink (root, "CREATED")) && err != ENOENT)
printf ("Error on unlink: %d\n", err);
- else if (err = dir_pathtrans (root, "CREATED", O_WRITE | O_CREAT, 0666,
- &retry, pathbuf, &filetowrite))
- printf ("Error on pathtrans: %d\n", err);
+ else if (err = dir_lookup (root, "CREATED", O_WRITE | O_CREAT, 0666,
+ &retry, pathbuf, &filetowrite))
+ printf ("Error on lookup: %d\n", err);
else if (err = io_write (filetowrite, string, strlen (string), -1, &written))
printf ("Error on write: %d\n", err);
else if (written != strlen (string))