summaryrefslogtreecommitdiff
path: root/lib/pipe2.c
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-02-03 21:04:39 -0500
committerMark H Weaver <mhw@netris.org>2014-02-03 21:05:52 -0500
commit5e69ceb7a667377a61cb0c31d7ac20e245b3fafd (patch)
treeef1e4fe569392fd4630dfcfc26d9948b7e6ffac5 /lib/pipe2.c
parent866af5da3d11ac4a9df44ee8c5b1781a0073c288 (diff)
downloadguile-5e69ceb7a667377a61cb0c31d7ac20e245b3fafd.tar.gz
Update Gnulib to v0.1-77-gd9361da
Diffstat (limited to 'lib/pipe2.c')
-rw-r--r--lib/pipe2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pipe2.c b/lib/pipe2.c
index 09952eb32..4e4e894e7 100644
--- a/lib/pipe2.c
+++ b/lib/pipe2.c
@@ -1,5 +1,5 @@
/* Create a pipe, with specific opening flags.
- Copyright (C) 2009-2013 Free Software Foundation, Inc.
+ Copyright (C) 2009-2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
@@ -138,13 +138,13 @@ pipe2 (int fd[2], int flags)
# if O_BINARY
if (flags & O_BINARY)
{
- setmode (fd[1], O_BINARY);
- setmode (fd[0], O_BINARY);
+ set_binary_mode (fd[1], O_BINARY);
+ set_binary_mode (fd[0], O_BINARY);
}
else if (flags & O_TEXT)
{
- setmode (fd[1], O_TEXT);
- setmode (fd[0], O_TEXT);
+ set_binary_mode (fd[1], O_TEXT);
+ set_binary_mode (fd[0], O_TEXT);
}
# endif