-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andreas Schwab on 1/28/2008 7:21 AM:
| I think you are mixing up something here.  This statement is only
| related to the fact that a call to exec* must not modify any of the argv
| and envp strings, despite the difficulty of expressing that in the
| prototype.  The C standard explicitly requires that the argv array
| contents are modifiable in the executed process.

Indeed, I stand corrected.  C99 5.1.2.2.1 states:
"The parameters argc and argv and the strings pointed to by the argv array
shall be modifiable by the program, and retain their last-stored values
between program startup and program termination."

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHnhsq84KuGfSFAYARAsMJAKCMBfi0AoaKza3lPUeh7vyCsLoDcgCfdRS6
Bznltxp0voNN0imtVwDvPSI=
=ie0o
-----END PGP SIGNATURE-----


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to