***Server sets mode: +nt
***Shentino_ is now known as Shentino
<civodul>any idea why pipe2 is not (not really) implemented in libc? <civodul> if (flags & ~(O_CLOEXEC | O_NONBLOCK)) <damo22>civodul: in words of our maintainer: Contributions welcome! <civodul>i'm just wondering if there's a reason that made it hard to implement <civodul>maybe we first need socketpair to honor SOCK_CLOEXEC and SOCK_NONBLOCK? <damo22>wouldnt that be flags & (O_CLOEXEC | O_NONBLOCK) ? <damo22>if it were to fail due to one of those flags? <civodul>damo22: oh you're right, i'm misreading it <damo22>i had a bit of practice with bitwise ops :) <damo22>what are you trying to do with pipe2? <damo22>i dont really know what pipe2 is for <civodul>it lets you pass additional flags, O_CLOEXEC and O_NONBLOCK <civodul>so you can atomically create file descriptors with the right flags <civodul>i'm using it in shepherd and wanted to make sure it's implemented on GNU/Hurd <damo22>civodul: looks like it is implemented, but O_DIRECT is not supported <damo22>youpi: inet_ntoa is thread safe apparently <iska>what's the status on SMP? <iska>Pellescours: that's the status of the entire hurd basically x3