summaryrefslogtreecommitdiff
path: root/libc/string/strdup.c
AgeCommit message (Collapse)Author
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2007-12-22mark a bunch of public mem/str functions as weak so that people who insist ↵Mike Frysinger
on their own local copies while static linking dont hit link failures when other uClibc code force the libc.a objects to be pulled in via the hidden alias symbols
2006-10-19Make strdup() use memcpy() rather than strcpy() to duplicate the string. Peter Kjellerstedt
The rationale is that we already have the length of the string to duplicate (from doing the malloc()), and memcpy() should then always be faster than strcpy() (or at least as fast).
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-03Complete split of all the string functions. Hope haven't broken too much. ↵Peter S. Mazinger
wcscoll/strcoll needs some love ...
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-15Correct Warning: function declaration isn't a prototypePeter S. Mazinger
2005-11-14Split up wstring.c and use attribute_hiddenPeter S. Mazinger