bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libc-config.h + cdefs.h


From: Gisle Vanem
Subject: Re: libc-config.h + cdefs.h
Date: Wed, 6 Sep 2017 13:06:16 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Paul Eggert wrote:

Hmm, is it because of the '#define __inline' to nothing later on? OK, I can see 
where that might be an issue.

Exactly, in glob.c which includes the Windows-SDK function:
  __inline struct _TEB *NtCurrentTeb (void)
  {
    return (struct _TEB *) (ULONG_PTR) __readfsdword (0x18);
  }

Prior to this change it caused multiple 'NtCurrentTeb()'.
But with your changes, no problem (tested with Wget).

PS. You write "several ways" but mention only 2 ways; are there other things 
that need fixing?

There are some other trivial stuff in:
  ./lib/count-leading-zeros.h
  ./lib/count-one-bits.h
  ./lib/iconv.in.h
  ./lib/inttypes.in.h
  ./lib/localtime-buffer.c

which I'll come back to.

--
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]