]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/exec.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / gen / FreeBSD / exec.3.patch
index 96cdf197b71f44b2f96d43f9e799f3a9a716f432..7a465425bc817659f690ead51cb89ecec9dc7924 100644 (file)
@@ -1,6 +1,6 @@
---- exec.3.orig        2006-09-18 18:04:52.000000000 -0700
-+++ exec.3     2006-09-18 18:05:37.000000000 -0700
-@@ -37,9 +37,8 @@
+--- exec.3.orig        2009-12-15 13:07:38.000000000 -0800
++++ exec.3     2009-12-15 13:09:07.000000000 -0800
+@@ -33,9 +33,8 @@
  .Os
  .Sh NAME
  .Nm execl ,
@@ -11,7 +11,7 @@
  .Nm execv ,
  .Nm execvp ,
  .Nm execvP
-@@ -50,25 +49,43 @@
+@@ -46,25 +45,43 @@
  .In unistd.h
  .Vt extern char **environ ;
  .Ft int
@@ -63,7 +63,7 @@
  .Sh DESCRIPTION
  The
  .Nm exec
-@@ -84,7 +101,7 @@
+@@ -80,7 +97,7 @@ The initial argument for these functions
  is to be executed.
  .Pp
  The
@@ -72,7 +72,7 @@
  and subsequent ellipses in the
  .Fn execl ,
  .Fn execlp ,
-@@ -106,7 +123,6 @@
+@@ -102,7 +119,6 @@ be terminated by a
  pointer.
  .Pp
  The
@@ -80,7 +80,7 @@
  .Fn execv ,
  .Fn execvp ,
  and
-@@ -123,10 +139,8 @@
+@@ -119,10 +135,8 @@ pointer.
  .Pp
  The
  .Fn execle
@@ -93,7 +93,7 @@
  .Dv NULL
  pointer that terminates the list of arguments in the argument list
  or the pointer to the argv array with an additional argument.
-@@ -203,11 +217,6 @@
+@@ -199,11 +213,6 @@ returned
  these functions will execute the shell with the path of
  the file as its first argument.
  (If this attempt fails, no further searching is done.)
  .Sh RETURN VALUES
  If any of the
  .Fn exec
-@@ -225,7 +234,7 @@
+@@ -277,7 +286,7 @@ The
  .Fn execl ,
  .Fn execle ,
  .Fn execlp ,
  and
  .Fn execvP
  functions
-@@ -237,11 +246,8 @@
+@@ -289,11 +298,8 @@ and
  .Xr malloc 3 .
  .Pp
  The
  .Va errno
  for any of the errors specified for the library function
  .Xr execve 2 .
-@@ -249,7 +255,6 @@
+@@ -301,7 +307,6 @@ for any of the errors specified for the 
  .Xr sh 1 ,
  .Xr execve 2 ,
  .Xr fork 2 ,
 -.Xr ktrace 2 ,
  .Xr ptrace 2 ,
  .Xr environ 7
- .Sh COMPATIBILITY
-@@ -272,11 +277,11 @@
- .Tn POSIX
- standard.
- .Pp
--Traditionally, the functions
-+Traditionally, the
- .Fn execlp
- and
- .Fn execvp
--ignored all errors except for the ones described above and
-+functions ignored all errors except for the ones described above and
- .Er ETXTBSY ,
- upon which they retried after sleeping for several seconds, and
- .Er ENOMEM
-@@ -313,7 +318,7 @@
+ .Sh STANDARDS
+@@ -309,7 +314,7 @@ The
  .Fn execl ,
  .Fn execv ,
  .Fn execle ,