[Glibc-bsd-commits] r2597 - trunk/glibc-ports/kfreebsd

Petr Salinger ps-guest at alioth.debian.org
Wed Jun 17 12:58:35 UTC 2009


Author: ps-guest
Date: 2009-06-17 12:58:35 +0000 (Wed, 17 Jun 2009)
New Revision: 2597

Modified:
   trunk/glibc-ports/kfreebsd/not-cancel.h
Log:
note where INTERNAL_SYSCALL should be used



Modified: trunk/glibc-ports/kfreebsd/not-cancel.h
===================================================================
--- trunk/glibc-ports/kfreebsd/not-cancel.h	2009-06-15 20:57:33 UTC (rev 2596)
+++ trunk/glibc-ports/kfreebsd/not-cancel.h	2009-06-17 12:58:35 UTC (rev 2597)
@@ -54,6 +54,10 @@
   INLINE_SYSCALL (close, 1, fd)
 #define close_not_cancel_no_status(fd) \
   INLINE_SYSCALL (close, 1, fd)
+/* should be
+  (void) ({ INTERNAL_SYSCALL_DECL (err);				      \
+	    INTERNAL_SYSCALL (close, err, 1, (fd)); })
+*/
 
 /* Uncancelable read.  */
 #define read_not_cancel(fd, buf, n) \
@@ -66,6 +70,10 @@
 /* Uncancelable writev.  */
 #define writev_not_cancel_no_status(fd, iov, n) \
   INLINE_SYSCALL (writev, 3, (fd), (iov), (n))
+/* should be
+  (void) ({ INTERNAL_SYSCALL_DECL (err);				      \
+	    INTERNAL_SYSCALL (writev, err, 3, (fd), (iov), (n)); })
+*/
 
 /* Uncancelable fcntl.  */
 #define fcntl_not_cancel(fd, cmd, val) \




More information about the Glibc-bsd-commits mailing list