change log for rtems (2010-08-30)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Aug 30 17:11:04 UTC 2010


 *ralf*:
2010-08-30	Ralf Corsépius <ralf.corsepius at rtems.org>

	* configure.ac: AC_CHECK_DECLS([seteuid]).
	* psximfs02/init.c: Provide decl for seteuid if not provided by
	libc.

M  1.315  testsuites/psxtests/ChangeLog
M   1.74  testsuites/psxtests/configure.ac
M    1.7  testsuites/psxtests/psximfs02/init.c

diff -u rtems/testsuites/psxtests/ChangeLog:1.314 rtems/testsuites/psxtests/ChangeLog:1.315
--- rtems/testsuites/psxtests/ChangeLog:1.314	Mon Aug 30 07:21:31 2010
+++ rtems/testsuites/psxtests/ChangeLog	Mon Aug 30 11:58:12 2010
@@ -1,5 +1,11 @@
 2010-08-30	Ralf Corsépius <ralf.corsepius at rtems.org>
 
+	* configure.ac: AC_CHECK_DECLS([seteuid]).
+	* psximfs02/init.c: Provide decl for seteuid if not provided by
+	libc.
+
+2010-08-30	Ralf Corsépius <ralf.corsepius at rtems.org>
+
 	* psxenosys/init.c, psxenosys/psxenosys.doc,
 	psxenosys/psxenosys.scn: Remove devctl.
 

diff -u rtems/testsuites/psxtests/configure.ac:1.73 rtems/testsuites/psxtests/configure.ac:1.74
--- rtems/testsuites/psxtests/configure.ac:1.73	Mon Aug 16 08:29:48 2010
+++ rtems/testsuites/psxtests/configure.ac	Mon Aug 30 11:58:12 2010
@@ -53,6 +53,10 @@
 # RTEMS provides a stub, despite newlib doesn't have sys/mman.h
 AC_CHECK_DECLS([mprotect],[],[],[[#include <sys/mman.h>]])
 
+# FIXME: IEEE Std 1003.1-2008 mandates seteuid in unistd.h
+# RTEMS provides it, despite newlib doesn't declare it.
+AC_CHECK_DECLS([seteuid],[],[],[#include <unistd.h>])
+
 # FIXME: We should get rid of this. It's a cludge.
 AC_CHECK_SIZEOF([off_t])
 

diff -u rtems/testsuites/psxtests/psximfs02/init.c:1.6 rtems/testsuites/psxtests/psximfs02/init.c:1.7
--- rtems/testsuites/psxtests/psximfs02/init.c:1.6	Tue Aug 10 09:41:47 2010
+++ rtems/testsuites/psxtests/psximfs02/init.c	Mon Aug 30 11:58:12 2010
@@ -20,6 +20,10 @@
 #include <rtems/libio.h>
 #include <rtems/libcsupport.h>
 
+#if !HAVE_DECL_SETEUID
+extern int seteuid(uid_t euid);
+#endif
+
 void IMFS_dump( void );
 rtems_task Init(
   rtems_task_argument argument



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100830/0357b940/attachment.html>


More information about the vc mailing list