mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts: ChangeLog
This commit is contained in:
commit
f8d7c1eadd
@ -3,6 +3,12 @@
|
||||
* stdio-common/printf_fp.c: Check for and avoid integer overflows.
|
||||
* stdio-common/vfprintf.c: Likewise.
|
||||
|
||||
2009-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* sysdeps/mach/hurd/mkdirat.c: Include <hurd/fd.h>.
|
||||
(mkdirat): Call __directory_name_split_at instead of
|
||||
__directory_name_split.
|
||||
|
||||
2009-09-28 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* locale/programs/locale-spec.c (locale_special): If nothing matches
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <stddef.h>
|
||||
#include <sys/stat.h>
|
||||
#include <hurd.h>
|
||||
#include <hurd/fd.h>
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user