From ff2835318177dd4600d3aa03626f4b5748e3fbeb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 28 Sep 2009 11:36:23 -0700 Subject: Fix Hurd mkdirat. --- ChangeLog | 6 ++++++ sysdeps/mach/hurd/mkdirat.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 25c528e462..0e0fa20f2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-27 Samuel Thibault + + * sysdeps/mach/hurd/mkdirat.c: Include . + (mkdirat): Call __directory_name_split_at instead of + __directory_name_split. + 2009-09-28 Ulrich Drepper * locale/programs/locale-spec.c (locale_special): If nothing matches diff --git a/sysdeps/mach/hurd/mkdirat.c b/sysdeps/mach/hurd/mkdirat.c index 321d59f2fd..a300745690 100644 --- a/sysdeps/mach/hurd/mkdirat.c +++ b/sysdeps/mach/hurd/mkdirat.c @@ -22,6 +22,7 @@ #include #include #include +#include int mkdirat (fd, path, mode) @@ -31,7 +32,7 @@ mkdirat (fd, path, mode) { error_t err; const char *name; - file_t parent = __directory_name_split (path, (char **) &name); + file_t parent = __directory_name_split_at (fd, path, (char **) &name); if (parent == MACH_PORT_NULL) return -1; err = __dir_mkdir (parent, name, mode & ~_hurd_umask); -- cgit 1.4.1