[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] stpncpy and AIX
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] stpncpy and AIX |
Date: |
25 Sep 2003 11:41:11 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Jim Meyering <address@hidden> writes:
> How does [AIX stpncpy's] behavior differ?
I don't know. I couldn't find it in the AIX documentation at
<http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixgen/topnav/topnav.htm>.
> What about having an autoconf test detect it, and then
> compile the replacement function only if necessary?
That would be nice, particularly if the AIX stpncpy's signature
differs, because then it should even work with cross-builds (just
check for the proper signature).
> I'd rather not have to try to remember to use the gnu_ prefix
> in gnu_stpncpy.
That shouldn't be a problem; Bruno's proposed patch still lets you use
"stpncpy" in all code outside the stpncpy module itself.