git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Undefine strlcpy if needed.

From
Torsten Bögershausen <tboegi@web.de>
Date
Aug 24, 2014, 19:49 UTC
Message-ID
<53FA41E2.9060907@web.de>
In-Reply-To
<53FA1050.2060309@ramsay1.demon.co.uk>
On 2014-08-24 18.18, Ramsay Jones wrote:
Show 39 quoted lines
> On 24/08/14 12:13, tsuna wrote:
>> On Sun, Aug 24, 2014 at 4:10 AM, Ramsay Jones
>> <ramsay@ramsay1.demon.co.uk> wrote:
>>> Hmm, which version of OS X are we talking about?
>>
>> OS X 10.9.4:
>>
>> $ uname -a
>> Darwin damogran.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3
>> 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
> 
> Hmm, does 'uname -r' return 13.3.0 or 13.4.0? (or something else!)
> 
>>> config.mak.uname contains this:
>>>
>>>         ifeq ($(shell expr "$(uname_R)" : '[15]\.'),2)
>>>                 NO_STRLCPY = YesPlease
>>>
>>> What does ./configure put in config.mak.autogen for NO_STRLCPY?
>>
>> NO_STRLCPY=
> 
> OK, so I've got to my limit here! ;-) The conditional shown above
> (from config.mak.uname) should not have set NO_STRLCPY (assuming
> that 'uname -r' is returning 13.3.0 or 13.4.0). So, unless NO_STRLCPY
> is being set somewhere else (command-line, environment), this should
> just work. puzzled. :(
> 
>>
>> I guess I saw all the warnings because I did just a “git pull —rebase
>> && make -j8” without running “make configure && ./configure”.
>>
> 
> Yes, but use of configure is supposed to be optional ...
> 
> Hopefully, someone who actually knows OS X can solve the mystery.
> 
> ATB,
> Ramsay Jones

I need to admit that I can not reproduce the warning here, uname -r gives "13.3.0"

Could it be that something is special on your machine ? Something in the environment ? Does a fresh clone help ?

Previous: Ramsay JonesNext: tsuna
Message 6 of 10 in “Undefine strlcpy if needed.”
  1. Undefine strlcpy if needed.Benoit Sigoure, Aug 24, 2014
  2. Undefine strlcpy if needed.Benoit Sigoure, Aug 24, 2014
  3. Ramsay JonesAug 24, 2014
  4. tsunaAug 24, 2014
  5. Ramsay JonesAug 24, 2014
  6. Torsten BögershausenAug 24, 2014
  7. tsunaAug 24, 2014
  8. Ramsay JonesAug 25, 2014
  9. tsunaAug 25, 2014
  10. Ramsay JonesAug 25, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.