Mercurial > hg > octave-lojdl > gnulib-hg
view modules/fts @ 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 | 16f47458947e |
children | 917610de47d7 |
line wrap: on
line source
Description: Traverse a file hierarchy. Files: lib/fts_.h lib/fts.c lib/fts-cycle.c m4/fts.m4 Depends-on: cloexec closedir cycle-check d-ino d-type dirent-safer dup fchdir fcntl-h fcntl-safer fstat hash i-ring lstat memmove openat-safer opendir readdir stdbool unistd-safer configure.ac: gl_FUNC_FTS dnl Use this version of fts unconditionally, since the GNU libc and dnl NetBSD versions have bugs and/or unnecessary limitations. AC_LIBOBJ([fts]) Makefile.am: Include: "fts_.h" License: GPL Maintainer: Jim Meyering