[PATCH] Use pid_t for passing PID values in tcgetpgrp

Mike Frysinger vapier at gentoo.org
Mon Apr 30 21:19:51 UTC 2007


On Sunday 22 April 2007, Nickolai Zeldovich wrote:
> Currently, tcgetpgrp() in uClibc uses an int to store a PID (fetched
> via ioctl TIOCGPGRP).  This causes problems on platforms where pid_t
> is defined to be larger (e.g., uint64_t).  Other functions in termios,
> such as tcgetsid() and tcsetpgrp(), already pass a pid_t to ioctl(),
> so the following patch does the same in tcgetpgrp() as well:
>
>     http://moscow.scs.stanford.edu/~nickolai/uclibc-pidt-patch
>
> (Apologies for the URL; I haven't figured out how to avoid tab
> conversions in gmail.)

gmail attaches files just fine
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20070430/642767b6/attachment-0002.pgp 


More information about the uClibc mailing list