From: Joseph Myers Date: Tue, 30 Mar 2010 13:16:44 +0000 (+0000) Subject: Define MSG_WAITFORONE for MIPS. X-Git-Tag: upstream/2.20~3636^2~493 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9823ee1b8175d246645ec8f2b388eef5a0d2772;p=platform%2Fupstream%2Flinaro-glibc.git Define MSG_WAITFORONE for MIPS. --- diff --git a/ChangeLog.mips b/ChangeLog.mips index 272b2f3..58f0a34 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2010-03-30 Joseph Myers + + * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define + MSG_WAITFORONE. + 2010-03-24 Joseph Myers * sysdeps/mips/dl-lookup.c: Update from generic version. diff --git a/sysdeps/unix/sysv/linux/mips/bits/socket.h b/sysdeps/unix/sysv/linux/mips/bits/socket.h index 4899077..9f90216 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/socket.h +++ b/sysdeps/unix/sysv/linux/mips/bits/socket.h @@ -1,6 +1,6 @@ /* System-specific socket constants and types. Linux/MIPS version. Copyright (C) 1991, 92, 1994-1999, 2000, 2001, 2004, 2005, 2006, 2007, 2008, - 2009 Free Software Foundation, Inc. + 2009, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -232,6 +232,8 @@ enum #define MSG_NOSIGNAL MSG_NOSIGNAL MSG_MORE = 0x8000, /* Sender will send more. */ #define MSG_MORE MSG_MORE + MSG_WAITFORONE = 0x10000, /* Wait for at least one packet to return.*/ +#define MSG_WAITFORONE MSG_WAITFORONE MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file descriptor received through