summaryrefslogtreecommitdiff
path: root/lib/pipe2.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2014-02-07 15:25:49 +0100
committerAndy Wingo <wingo@pobox.com>2014-02-07 15:25:49 +0100
commit479fc9a5caca8592da5cc84570fbf2335c632d6c (patch)
tree710ade387d04b55871f4282b55ca5df978c06bea /lib/pipe2.c
parentb00c9b221401082449fd733a78bb1b4f88e41ebe (diff)
parent5e69ceb7a667377a61cb0c31d7ac20e245b3fafd (diff)
downloadguile-479fc9a5caca8592da5cc84570fbf2335c632d6c.tar.gz
Merge commit '5e69ceb7a667377a61cb0c31d7ac20e245b3fafd'
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