Replaced the call to strdup() with a new operator followed by a strcpy().
authorJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 19:14:41 +0000 (19:14 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 17 Sep 2003 19:14:41 +0000 (19:14 +0000)
commita589d31faa44e0c9175e66417ae57b03959e0675
tree64f92e3bfc6b3302571f063d3afbf8095eb3a520
parent83ca6ec8a3e10c91b3c5a11ec6285ddc31b5a1ae
Replaced the call to strdup() with a new operator followed by a strcpy().
This should prevent calls to the new oerator and malloc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8587 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccld/gccld.cpp