This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libc/dirent versionsort64.c versionsort.c scan ...


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

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]