[BusyBox] strdup versus xstrdup

Steve Merrifield steve at labyrinth.net.au
Sat Nov 10 00:35:39 UTC 2001


Hi,
 
What is the feeling towards the use of strdup() versus xstrdup() ?
 
Some applets use one, some use the other. Some use both! I note
one of the janitorial tasks is to replace the use of strdup() with
xstrdup().
 
Is there a need for this? Is anyone working on it? Would anyone
mind if I went through the entire tree and replaced all occurences
of strdup() with xstrdup() ?
 
steve





More information about the busybox mailing list