projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint: update copyright
[gnulib.git]
/
lib
/
accept4.c
diff --git
a/lib/accept4.c
b/lib/accept4.c
index
7163711
..
41e7d40
100644
(file)
--- a/
lib/accept4.c
+++ b/
lib/accept4.c
@@
-1,5
+1,5
@@
/* Accept a connection on a socket, with specific opening flags.
/* Accept a connection on a socket, with specific opening flags.
- Copyright (C) 2009-201
2
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
4
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-12,8
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ with this program; if not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <config.h>
@@
-120,9
+119,9
@@
accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
#if O_BINARY
if (flags & O_BINARY)
#if O_BINARY
if (flags & O_BINARY)
- setmode (fd, O_BINARY);
+ set
_binary_
mode (fd, O_BINARY);
else if (flags & O_TEXT)
else if (flags & O_TEXT)
- setmode (fd, O_TEXT);
+ set
_binary_
mode (fd, O_TEXT);
#endif
return fd;
#endif
return fd;