Parent Directory | Revision Log | Patch
revision 1.2 by gary, Wed Sep 10 17:12:02 2003 UTC | revision 1.3 by gary, Thu Nov 13 12:05:58 2003 UTC | |
---|---|---|
# | Line 29 | Line 29 |
29 | char * | char * |
30 | xstrdup (const char *string) | xstrdup (const char *string) |
31 | { | { |
32 | return strcpy (xmalloc (strlen (string) + 1), string); | return xclone (string, strlen (string) + 1); |
33 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |