Mercurial > hg > octave-kai > gnulib-hg
view lib/dev-ino.h @ 17429:88b6febaed97
tests: port large-fd POSIX spawn tests to OS X
Problem reported by Daiki Ueno in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00031.html>.
* tests/test-posix_spawn_file_actions_addclose.c:
* tests/test-posix_spawn_file_actions_adddup2.c:
* tests/test-posix_spawn_file_actions_addopen.c:
Include <limits.h>, for OPEN_MAX, if available.
(big_fd): New static function.
(main): Use it.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 11 Jun 2013 00:10:21 -0700 |
parents | 20e26e1fcaec |
children |
line wrap: on
line source
#ifndef DEV_INO_H # define DEV_INO_H 1 # include <sys/types.h> # include <sys/stat.h> struct dev_ino { ino_t st_ino; dev_t st_dev; }; #endif