Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/lib/libc/termios
Module Name: src
Committed By: dsl
Date: Wed Dec 1 21:37:15 UTC 2004
Modified Files:
src/lib/libc/termios: tcgetpgrp.c
Log Message:
Change a returned value of -1 (NO_PGID) to (uint)(pid_t)~0u >> 1 (0x7fffffff)
to satisfy the SuSv3/POSIX-2004/etc requirement that "If there is no
foreground process group, tcgetpgrp() shall return a value greater than 1
that does not match the process group ID of any existing process group."
Should fix PR standards/28493 and zsh.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/lib/libc/termios/tcgetpgrp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index