Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missing #include updates for dirstream code move from unix to posix.
  • Loading branch information
Roland McGrath committed Aug 8, 2012
1 parent 5afee2d commit cdd915f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2012-08-08 Roland McGrath <roland@hack.frob.com>

* sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
sysdeps/unix -> sysdeps/posix move.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.

2012-08-07 Allan McRae <allan@archlinux.org>

[BZ #14303]
Expand Down
6 changes: 3 additions & 3 deletions sysdeps/unix/sysv/linux/i386/readdir64_r.c
@@ -1,4 +1,4 @@
/* Copyright (C) 2000, 2004, 2010 Free Software Foundation, Inc.
/* Copyright (C) 2000-2012 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
Expand All @@ -20,7 +20,7 @@
#define DIRENT_TYPE struct dirent64
#define GETDENTS_64BIT_ALIGNED 1

#include <sysdeps/unix/readdir_r.c>
#include <sysdeps/posix/readdir_r.c>

#undef __READDIR_R
#undef __GETDENTS
Expand All @@ -38,7 +38,7 @@ versioned_symbol (libc, __readdir64_r, readdir64_r, GLIBC_2_2);
#define __GETDENTS __old_getdents64
#define DIRENT_TYPE struct __old_dirent64

#include <sysdeps/unix/readdir_r.c>
#include <sysdeps/posix/readdir_r.c>

compat_symbol (libc, __old_readdir64_r, readdir64_r, GLIBC_2_1);
#endif
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/readdir64_r.c
Expand Up @@ -2,6 +2,6 @@
#define __GETDENTS __getdents64
#define DIRENT_TYPE struct dirent64

#include <sysdeps/unix/readdir_r.c>
#include <sysdeps/posix/readdir_r.c>

weak_alias (__readdir64_r, readdir64_r)

0 comments on commit cdd915f

Please sign in to comment.