about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-18 20:36:55 +0000
committerRoland McGrath <roland@gnu.org>2002-08-18 20:36:55 +0000
commit35d313bfdfff69d47784267e76a08108daffc7b3 (patch)
tree14c7eb508cc5d58e8db69aa48b67b73ab49064b0
parentb832c52784a1f4f13584c3cee475a8bc31f0f0b7 (diff)
downloadglibc-35d313bfdfff69d47784267e76a08108daffc7b3.tar.gz
glibc-35d313bfdfff69d47784267e76a08108daffc7b3.tar.xz
glibc-35d313bfdfff69d47784267e76a08108daffc7b3.zip
2002-08-18 Roland McGrath <roland@frob.com>
	* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
	instead of __file_name_split.
	* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
-rw-r--r--sysdeps/mach/hurd/mkdir.c4
-rw-r--r--sysdeps/mach/hurd/unlink.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/mkdir.c b/sysdeps/mach/hurd/mkdir.c
index 884918c560..b7e80748f7 100644
--- a/sysdeps/mach/hurd/mkdir.c
+++ b/sysdeps/mach/hurd/mkdir.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,94,95,96,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ __mkdir (file_name, mode)
 {
   error_t err;
   const char *name;
-  file_t parent = __file_name_split (file_name, (char **) &name);
+  file_t parent = __directory_name_split (file_name, (char **) &name);
   if (parent == MACH_PORT_NULL)
     return -1;
   err = __dir_mkdir (parent, name, mode & ~_hurd_umask);
diff --git a/sysdeps/mach/hurd/unlink.c b/sysdeps/mach/hurd/unlink.c
index 9dbd42c1f0..959c2f8d00 100644
--- a/sysdeps/mach/hurd/unlink.c
+++ b/sysdeps/mach/hurd/unlink.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@ __unlink (name)
   file_t dir;
   const char *file;
 
-  dir = __file_name_split (name, (char **) &file);
+  dir = __directory_name_split (name, (char **) &file);
   if (dir == MACH_PORT_NULL)
     return -1;