Jim Meyering wrote:
Matthew Woehlke <[EMAIL PROTECTED]> wrote:
...for some reason, configure on AIX is incorrectly thinking that it has
strndup (declared, anyway) from the OS, when it does not UNLESS
'_ALL_SOURCE' is defined. This causes a build failure in xstrndup (from
coreutils 6.6, and Jim's 6.7+ snapshot from Jan-26).

I know string.h has been seeing a lot of love recently, does this sound
like something already fixed (or more likely, irrelevant?) or should I
investigate why configure's check is failing?

It should be fixed in the coreutils snapshot of a few minutes ago.

Nope, still broken. Guess I'll have a look at configure.
The problem is just that configure sets HAVE_STRNDUP_DECL; if I change the relevant spot in the generated string.h, it gets past xstrndup.

However, now mountlist.c is bombing on strstr. Looking in string.h, I see:

#if 0
# if 0
#  undef strstr
#  define strstr rpl_strstr
extern char *strstr (char const *__haystack, char const *__needle);
# endif
#else
# undef strstr
# define strstr strstr_is_unportable__use_gnulib_module_strstr_for_portability
#endif

...so it seems strstr should be pulled, and isn't? Was this something that was just fixed, or is it new?

--
Matthew
OFFICER throws a tear gas grenade at you. You start to feel nauseous. You need fresh air quickly.
> OPEN WINDOWS
Sorry, I have a philosophical objection to Microsoft products.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to