projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around a MacOS X 10.4 bug with openpty.
[gnulib.git]
/
tests
/
test-openpty.c
diff --git
a/tests/test-openpty.c
b/tests/test-openpty.c
index
4012e16
..
41caaf2
100644
(file)
--- a/
tests/test-openpty.c
+++ b/
tests/test-openpty.c
@@
-99,6
+99,10
@@
main ()
return 1;
}
}
+
+ /* Close the master side before the slave side gets closed.
+ This is necessary on MacOS X 10.4.11. */
+ close (master);
}
return 0;