Make sure to copy the null terminator at the end of the argv list. Some
authorChris Lattner <sabre@nondot.org>
Tue, 10 Feb 2004 19:14:44 +0000 (19:14 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 10 Feb 2004 19:14:44 +0000 (19:14 +0000)
commitf472935caf4d6f188852e4b9311c05897029b61f
treed2c1c12c7a39b7fa38a746a7a537170a825db2fd
parent991c76ca97440de555b4129c8016614826b081f1
Make sure to copy the null terminator at the end of the argv list.  Some
programs use it instead of argc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11270 91177308-0d34-0410-b5e6-96231b3b80d8
runtime/libprofile/CommonProfiling.c