libc/dirent versionsort64.c versionsort.c scan ...
Thomas Schwinge
tschwinge@gnu.org
Mon Mar 16 23:09:00 GMT 2009
Hello!
On Sun, Mar 15, 2009 at 09:32:34PM -0000, drepper@sourceware.org wrote:
> CVSROOT: /cvs/glibc
> Module name: libc
> Changes by: drepper@sourceware.org 2009-03-15 21:32:34
>
> Modified files:
> dirent : versionsort64.c versionsort.c scandir.c
> alphasort64.c alphasort.c
>
> Log message:
> Adjust implementation to type change.
The following one also needs to be adjusted:
2009-03-16 Thomas Schwinge <tschwinge@gnu.org>
* scandir64.c (scandir64): Adjust declaration to type change.
diff --git a/dirent/scandir64.c b/dirent/scandir64.c
index 68608de..b7bd654 100644
--- a/dirent/scandir64.c
+++ b/dirent/scandir64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2009 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
@@ -25,6 +25,7 @@
int scandir64 (__const char *__restrict __dir,
struct dirent64 ***__restrict __namelist,
int (*__selector) (__const struct dirent64 *),
- int (*__cmp) (__const void *, __const void *));
+ int (*__cmp) (__const struct dirent64 **,
+ __const struct dirent64 **));
#include <dirent/scandir.c>
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20090316/71995a60/attachment.sig>
More information about the Libc-alpha
mailing list