Try a Fedora list ?

-- 
 Jason Hellenthal
 Inbox: [email protected]
 Voice: +1 (616) 953-0176
 JJH48-ARIN


On Jul 8, 2013, at 2:15, Dan Shelton <[email protected]> wrote:

> I'm trying to comprehend this: The ksh93 version in Fedora 19 is a
> year old. Does anyone know why?
> 
> Dan
> 
> PS: Critical feature missing is poll(1)
> 
> ---------- Forwarded message ----------
> From: Dan Shelton <[email protected]>
> Date: 8 July 2013 07:25
> Subject: No POLLRDHUP in Fedora ksh poll(1)?
> To: [email protected]
> 
> 
> I'm trying to get POLLRDHUP working in the poll command but I can't
> get it working, for example if I set p[0].events.pollrdhup=true
> poll(1) never sets p[0].revents.pollrdhup to true even if I'm using a
> socket which has been closed by the other side.
> 
> I dug deeper and found that the Linux binary I created from ast-ksh
> 20130628 doesn't have POLLRDHUP compiled in but
> src/cmd/ksh93/bltins/poll.c certainly has support for it:
> -----------
> ksh -c 'poll --man 2>&1 | grep -i hup'
>    .pollhup
>  members pollhup, pollerr, and pollnval are always set to 'true' in revents if
>          The pollinhup, pollnval and pollerr variables may appear in the
>          ${ar[x].revents.pollhup-} to get the value of ar[x].revents.pollhup
>          variables p[0].revents.pollin and p[0].revents.pollhup will be 'true'
>                  pollin="true" pollhup="true" ) ) ) ; poll -t2 p ; print -v p'
> grep RDHUP <src/cmd/ksh93/bltins/poll.c
> #ifdef POLLRDHUP
>        { POLLRDHUP,    "pollrdhup"     },
> -----------
> 
> Can anyone check why this happens?
> 
> Platform is Redhat Fedora 19 on a x84_64 server.
> 
> Dan
> 
> PS: The ksh93 version shipped with Fedora 19 is from the stone age. Is
> there someone I can contact to rectify this?
> _______________________________________________
> ast-users mailing list
> [email protected]
> http://lists.research.att.com/mailman/listinfo/ast-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to