Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src Pull up following revision(s) (requested by martin in tic...



details:   https://anonhg.NetBSD.org/src/rev/e974171b9ca3
branches:  netbsd-6
changeset: 773806:e974171b9ca3
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Feb 23 18:34:33 2012 +0000

description:
Pull up following revision(s) (requested by martin in ticket #36):
        include/spawn.h: revision 1.4
        lib/libc/gen/posix_spawnp.c: revision 1.2
Use C++ compatible declaration for posix_spawn (instead of the C99 specific
posix one).

diffstat:

 include/spawn.h             |  6 +++---
 lib/libc/gen/posix_spawnp.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 9d9beaa70c66 -r e974171b9ca3 include/spawn.h
--- a/include/spawn.h   Thu Feb 23 18:31:46 2012 +0000
+++ b/include/spawn.h   Thu Feb 23 18:34:33 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spawn.h,v 1.1.2.1 2012/02/20 21:54:55 sborrill Exp $   */
+/*     $NetBSD: spawn.h,v 1.1.2.2 2012/02/23 18:34:33 riz Exp $        */
 
 /*-
  * Copyright (c) 2008 Ed Schouten <ed%FreeBSD.org@localhost>
@@ -40,10 +40,10 @@
  */
 int posix_spawn(pid_t * __restrict, const char * __restrict,
     const posix_spawn_file_actions_t *, const posix_spawnattr_t * __restrict,
-    char * const [__restrict], char * const [__restrict]);
+    char * const *__restrict, char * const *__restrict);
 int posix_spawnp(pid_t * __restrict, const char * __restrict,
     const posix_spawn_file_actions_t *, const posix_spawnattr_t * __restrict,
-    char * const [__restrict], char * const [__restrict]);
+    char * const *__restrict, char * const *__restrict);
 
 /*
  * File descriptor actions
diff -r 9d9beaa70c66 -r e974171b9ca3 lib/libc/gen/posix_spawnp.c
--- a/lib/libc/gen/posix_spawnp.c       Thu Feb 23 18:31:46 2012 +0000
+++ b/lib/libc/gen/posix_spawnp.c       Thu Feb 23 18:34:33 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: posix_spawnp.c,v 1.1 2012/02/11 23:31:24 martin Exp $  */
+/*     $NetBSD: posix_spawnp.c,v 1.1.2.1 2012/02/23 18:34:33 riz Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: posix_spawnp.c,v 1.1 2012/02/11 23:31:24 martin Exp $");
+__RCSID("$NetBSD: posix_spawnp.c,v 1.1.2.1 2012/02/23 18:34:33 riz Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <stdio.h>
@@ -45,7 +45,7 @@
 int posix_spawnp(pid_t * __restrict pid, const char * __restrict file,
     const posix_spawn_file_actions_t *fa,
     const posix_spawnattr_t * __restrict sa,
-    char * const cav[__restrict], char * const env[__restrict])
+    char * const *__restrict cav, char * const *__restrict env)
 {
        char fpath[FILENAME_MAX], *last, *p;
        char *path;



Home | Main Index | Thread Index | Old Index