Commit 90bc75734efe584bf3dcdc65e5689123ea78ce11

Bruno Haible 2011-10-21T02:22:04

unlockpt: Detect invalid argument. * lib/unlockpt.c: Include <fcntl.h>. (unlockpt): Check whether fd is valid, using fcntl(). * modules/unlockpt (Depends-on): Add fcntl-h.