From c7f1ebcc91150c79dffce3065fe205b7b938f4b0 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 24 Oct 1998 08:39:47 +0000 Subject: 1998-10-24 Roland McGrath * clookup.c (file_name_lookup_carefully): Use getdport instead of __getdport, getumask () instead of _hurd_umask. --- sutils/clookup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sutils') diff --git a/sutils/clookup.c b/sutils/clookup.c index e39ddd64..9d31e958 100644 --- a/sutils/clookup.c +++ b/sutils/clookup.c @@ -1,6 +1,6 @@ /* Careful filename lookup - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1998 Free Software Foundation, Inc. Written by Miles Bader @@ -159,10 +159,10 @@ file_name_lookup_carefully (const char *name, int flags, mode_t mode) num_gids = getgroups (num_gids, gids); if (num_gids < 0) return errno; - + /* Look things up ... */ - err = __hurd_file_name_lookup (&_hurd_ports_use, &__getdport, lookup, - name, flags, mode & ~_hurd_umask, + err = __hurd_file_name_lookup (&_hurd_ports_use, &getdport, lookup, + name, flags, mode & ~getumask (), &node); return err ? (__hurd_fail (err), MACH_PORT_NULL) : node; -- cgit v1.2.3