On Wed, May 8, 2013 at 2:31 AM, Roland Mainz <[email protected]> wrote:
> On Sun, May 5, 2013 at 10:13 PM, Roland Mainz <[email protected]> 
> wrote:
>> On Sat, Aug 25, 2012 at 6:51 AM, Roland Mainz <[email protected]> 
>> wrote:
>>> Attached (as "astopen_o_search_001.diff.txt") is a prototype patch for
>>> ast-open.2012-08-24 to get |O_search| defined (e.g. it's either
>>> pointing to POSIX's |O_SEARCH|, Linux's |O_PATH| or is not defined)
>>> and _used_ ...
>>> ... the bug problem with it is... it works on Solaris+AIX (which both
>>> have |O_SEARCH|) ... but it does not work on Linux unless I compile
>>> ast-open with $ (CC='gcc -D_GNU_SOURCE=1' nice ksh ./bin/package make)
>>> #. The problem is that |O_PATH| is only defined if |_GNU_SOURCE| is
>>> set... and something seems to undefine it somehow in the sources
>>> unless it's set globally for all source files...
>>>
>>> Glenn: Can you have a look, please ?
>>
>> Attached (as "astksh20130503_use_o_path_as_o_search001.diff.gz") is a
>> fully working version of the patch.
>>
>> Notes:
>> - Please keep the Linux-specific #error ASSERT in
>> src/lib/libast/features/fcntl.c intact... it took some time to figure
>> out that the Linux includes have issues with |_GNU_SOURCE| vs.
>> |_USE_GNU| and I don't want to hunt such "ghost bugs" in that area
>> again
>
> Erm... ping !? Did you get the patch or was it lost in the
> ast-developers@ mailman outage ?

2nd try since it seems the patch didn't make it through the list... ;-((

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

Attachment: astksh20130503_use_o_path_as_o_search001.diff.gz
Description: GNU Zip compressed data

_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to