comparison find_sub.c @ 3612:a1522fa7728a

x = malloc(strlen(s) + c) ... strcpy(x, s) replaced by x = strdup(s) Note: sometimes c was 0 and that was a bug Note2: code still has to be added to check the returned value of these funcs
author pl
date Wed, 19 Dec 2001 13:03:22 +0000
parents 5a11cbf8791f
children 156482788caf
comparison
equal deleted inserted replaced
3611:178c562948ff 3612:a1522fa7728a