This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Mar 25, 2005 at 01:57:57PM -0700, Greg McGary wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
>
> > Sure, but for both wcstoul_l.c and strtoul_l.c.
>
> strtoul_l.c already has #include "strtoul.c".
> FYI, I didn't have compile failures for strtoul, only wcstoul_l.
>
> > Or #include "wcstol_l.c" instead of #include <wcstol_l.c> would work
> > too.
>
> Yes, it does. If we're happy with strtoul_l.c, we should follow the
> same approach for wcstoul_l.c
This worked for me on ppc64.
2005-03-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
<wcstol_l.c>.
--- libc/sysdeps/generic/wcstoul_l.c.jj 2004-03-15 09:13:16.000000000 +0100
+++ libc/sysdeps/generic/wcstoul_l.c 2005-03-25 22:00:30.000000000 +0100
@@ -1,5 +1,5 @@
/* Convert string representing a number to integer value, using given locale.
- Copyright (C) 1997, 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -27,4 +27,4 @@
extern unsigned long int ____wcstoul_l_internal (const wchar_t *, wchar_t **,
int, int, __locale_t);
-#include <wcstol_l.c>
+#include "wcstol_l.c"
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |