Re: [ast-users] ksh93 openat error

2013-07-19 Thread Irek Szczesniak
On Fri, Jul 19, 2013 at 1:54 PM, Philippe Bergheaud wrote: > On the following platform: > Linux version 2.6.32-5-686 (Debian 2.6.32-46) > gcc version 4.3.5 (Debian 4.3.5-4) > > ksh93 compiles, but fails to initialize: > $ strace ~/ast-base.2013-06-28/arch/linux.i386/bin/ksh > [...] > openat(AT_FDC

Re: [ast-users] ksh93 openat error

2013-07-19 Thread Irek Szczesniak
On Fri, Jul 19, 2013 at 5:36 PM, Glenn Fowler wrote: > > thanks philippe > src/lib/libast/features/fcntl.c assumed that all system O_* values > were single bits -- not the case in linux and probably other systems > working on a fix today Where does Linux not use single bits for O_* values? That w

Re: [ast-users] ksh93 openat error

2013-07-19 Thread Glenn Fowler
On Fri, 19 Jul 2013 20:48:17 +0200 Irek Szczesniak wrote: > On Fri, Jul 19, 2013 at 5:36 PM, Glenn Fowler wrote: > > > > thanks philippe > > src/lib/libast/features/fcntl.c assumed that all system O_* values > > were single bits -- not the case in linux and probably other systems > > working on a

Re: [ast-users] ksh93 openat error

2013-07-19 Thread Glenn Fowler
this patch + fixes for features/fcntl.c rolled in for the next alpha On Fri, 19 Jul 2013 20:49:54 +0200 Irek Szczesniak wrote: > --001a11c28aa2dd24c204e1e1caeb > Content-Type: text/plain; charset=ISO-8859-1 > On Fri, Jul 19, 2013 at 1:54 PM, Philippe Bergheaud > wrote: > > On the following plat

Re: [ast-users] ksh93 openat error

2013-07-19 Thread Glenn Fowler
thanks philippe src/lib/libast/features/fcntl.c assumed that all system O_* values were single bits -- not the case in linux and probably other systems working on a fix today On Fri, 19 Jul 2013 13:54:42 +0200 Philippe Bergheaud wrote: > On the following platform: > Linux version 2.6.32-5-686 (De

[ast-users] ksh93 openat error

2013-07-19 Thread Philippe Bergheaud
On the following platform: Linux version 2.6.32-5-686 (Debian 2.6.32-46) gcc version 4.3.5 (Debian 4.3.5-4) ksh93 compiles, but fails to initialize: $ strace ~/ast-base.2013-06-28/arch/linux.i386/bin/ksh [...] openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECT) = -1 EINVAL (Invalid argument) writ