From 7c66508fb414b4d9271e0772c67d4e6383d912e2 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 5 Mar 2002 01:28:59 +0000 Subject: doc/ 2002-03-05 Marcus Brinkmann * hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans. Reported by James A Morrison . fstests/ 2002-03-05 Marcus Brinkmann * fstests.c (main): Call dir_lookup, not dir_pathtrans. Reported by James A Morrison . hurd/ 2002-03-05 Marcus Brinkmann * 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 . libdiskfs/ 2002-03-05 Marcus Brinkmann * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. Reported by James A Morrison . libfshelp/ 2002-03-05 Marcus Brinkmann * fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment. Reported by James A Morrison . --- fstests/ChangeLog | 5 +++++ fstests/fstests.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'fstests') diff --git a/fstests/ChangeLog b/fstests/ChangeLog index 6849e0a1..0ed8e3f4 100644 --- a/fstests/ChangeLog +++ b/fstests/ChangeLog @@ -1,3 +1,8 @@ +2002-03-05 Marcus Brinkmann + + * fstests.c (main): Call dir_lookup, not dir_pathtrans. + Reported by James A Morrison . + 2001-02-25 Roland McGrath * fstests.c (main): sync now returns void. 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)) -- cgit v1.2.3