Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.
	* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
  • Loading branch information
Ulrich Drepper committed Jul 27, 2008
1 parent c4a710b commit 11ed3ea
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2008-07-27 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/socket.h: Define PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.

2008-07-26 Ulrich Drepper <drepper@redhat.com>

[BZ #6771]
Expand Down
2 changes: 1 addition & 1 deletion libio/fileops.c
Expand Up @@ -432,7 +432,7 @@ _IO_new_file_attach (fp, fd)
if (_IO_SEEKOFF (fp, (_IO_off64_t)0, _IO_seek_cur, _IOS_INPUT|_IOS_OUTPUT)
== _IO_pos_BAD && errno != ESPIPE)
return NULL;
errno = save_errno;
__set_errno (save_errno);
return fp;
}
INTDEF2(_IO_new_file_attach, _IO_file_attach)
Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/bits/socket.h
Expand Up @@ -102,7 +102,8 @@ enum __socket_type
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
#define PF_IUCV 32 /* IUCV sockets. */
#define PF_RXRPC 33 /* RxRPC sockets. */
#define PF_MAX 34 /* For now.. */
#define PF_ISDN 34 /* mISDN sockets. */
#define PF_MAX 35 /* For now.. */

/* Address families. */
#define AF_UNSPEC PF_UNSPEC
Expand Down Expand Up @@ -136,6 +137,7 @@ enum __socket_type
#define AF_BLUETOOTH PF_BLUETOOTH
#define AF_IUCV PF_IUCV
#define AF_RXRPC PF_RXRPC
#define AF_ISDN PF_ISDN
#define AF_MAX PF_MAX

/* Socket level values. Others are defined in the appropriate headers.
Expand Down
4 changes: 3 additions & 1 deletion sysdeps/unix/sysv/linux/sparc/bits/socket.h
Expand Up @@ -101,7 +101,8 @@ enum __socket_type
#define PF_BLUETOOTH 31 /* Bluetooth sockets. */
#define PF_IUCV 32 /* IUCV sockets. */
#define PF_RXRPC 33 /* RxRPC sockets. */
#define PF_MAX 34 /* For now.. */
#define PF_ISDN 34 /* mISDN sockets. */
#define PF_MAX 35 /* For now.. */

/* Address families. */
#define AF_UNSPEC PF_UNSPEC
Expand Down Expand Up @@ -135,6 +136,7 @@ enum __socket_type
#define AF_BLUETOOTH PF_BLUETOOTH
#define AF_IUCV PF_IUCV
#define AF_RXRPC PF_RXRPC
#define AF_ISDN PF_ISDN
#define AF_MAX PF_MAX

/* Socket level values. Others are defined in the appropriate headers.
Expand Down

0 comments on commit 11ed3ea

Please sign in to comment.