This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Rename MSG_URG to MSG_CONFIRM



According to Andi Kleen (and some greps throgh kernel sources) MSG_URG
was never used.  Kernel 2.4 now uses MSG_CONFIRM instead.  I've
committed the appended patch for glibc 2.2.

Andreas

2000-07-27  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/bits/socket.h: Rename MSG_URG TO
	MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never used).
	* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
        Reported by Andi Kleen <ak@suse.de>.

============================================================
Index: sysdeps/unix/sysv/linux/mips/bits/socket.h
--- sysdeps/unix/sysv/linux/mips/bits/socket.h	2000/05/13 18:18:03	1.13
+++ sysdeps/unix/sysv/linux/mips/bits/socket.h	2000/07/27 15:11:49
@@ -193,8 +193,8 @@
 #define	MSG_FIN		MSG_FIN
     MSG_SYN		= 0x400,
 #define	MSG_SYN		MSG_SYN
-    MSG_URG		= 0x800,
-#define	MSG_URG		MSG_URG
+    MSG_CONFIRM		= 0x800, /* Confirm path validity.  */
+#define	MSG_CONFIRM	MSG_CONFIRM
     MSG_RST		= 0x1000,
 #define	MSG_RST		MSG_RST
     MSG_ERRQUEUE	= 0x2000, /* Fetch message from error queue.  */
============================================================
Index: sysdeps/unix/sysv/linux/bits/socket.h
--- sysdeps/unix/sysv/linux/bits/socket.h	2000/06/10 21:54:27	1.38
+++ sysdeps/unix/sysv/linux/bits/socket.h	2000/07/27 15:11:50
@@ -193,8 +193,8 @@
 #define	MSG_FIN		MSG_FIN
     MSG_SYN		= 0x400,
 #define	MSG_SYN		MSG_SYN
-    MSG_URG		= 0x800,
-#define	MSG_URG		MSG_URG
+    MSG_CONFIRM		= 0x800, /* Confirm path validity.  */
+#define	MSG_CONFIRM	MSG_CONFIRM
     MSG_RST		= 0x1000,
 #define	MSG_RST		MSG_RST
     MSG_ERRQUEUE	= 0x2000, /* Fetch message from error queue.  */

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]