Mercurial > hg > octave-lojdl > gnulib-hg
view modules/stdlib-c++-tests @ 15979:69cc1dcd696b
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 21 Oct 2011 02:22:04 +0200 |
parents | 1cdd9ed93c4e |
children |
line wrap: on
line source
Files: tests/test-stdlib-c++.cc tests/test-stdlib-c++2.cc tests/signature.h Status: c++-test Depends-on: ansi-c++-opt configure.ac: Makefile.am: if ANSICXX TESTS += test-stdlib-c++ check_PROGRAMS += test-stdlib-c++ test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) endif