Skip to contentSkip to conversation

mq_timedreceive have wrong _XOPEN_SOURCE

PATCH New Cyril Hrubis 1 participant 1 message May 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mq_timedreceive have wrong _XOPEN_SOURCE

Hi!
The mq_timedreceive01.c test defines _XOPEN_SOURCE 500 on the beginning but this causes missing prototypes for seteuid() and mq_timedreceive() as they need _XOPEN_SOURCE >= 600. Following patch fixes that.

Signature · 2 lines
Cyril Hrubis
[email protected]
testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c +1 -1
Index: ltp-full-20100430/testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01.c
===================================================================
@@ -45,7 +45,7 @@
 /* History:     Porting from Crackerjack to LTP is done by                    */
 /*              Manas Kumar Nayak [email protected]>                        */
 /******************************************************************************/
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
 #include <sys/syscall.h>
 #include <sys/types.h>
 #include <sys/stat.h>

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list