Hi Danny,

Danny Milosavljevic <dan...@scratchpost.org> skribis:

>> What’s the story with ‘readdir’?
>
> Shooting in the dark, we've had "fun" with readdir on ARM before in GNU Mes 
> and
> ended up doing the following:
>
> #ifdef __arm__
> #define O_DIRECTORY 0x4000
> /*#define O_DIRECT 0x10000*/
> #else
> #define O_DIRECTORY 0x10000
> #endif

Wat? :-)  (It’s 040000 in arm/fcntl.h actually!)

How would you explain that:

  guix environment -s armhf-linux --ad-hoc guile-static-stripped --no-grafts -- 
guile -q

gives us a Guile with a valid ‘readdir’ then?  I mean, the initrd runs
‘guile-static-stripped’?

Thanks,
Ludo’.

Reply via email to