This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strcpy -> memcpy


> No x* calls are allowed in bfd (just bfd; and yes existing calls
> are bugs).

Libiberty guarantees the availability of strdup(), which returns NULL
on allocation failure.  BFD should be allowed to use that.

Now, if you want to optimize libiberty's strdup, that's a different
story... ;)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]