Return to popt.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / rsync / popt |
version 1.1, 2012/02/17 15:09:30 | version 1.1.1.2, 2021/03/17 00:32:36 |
---|---|
Line 626 expandNextArg(/*@special@*/ poptContext con, const cha | Line 626 expandNextArg(/*@special@*/ poptContext con, const cha |
pos = te - t; | pos = te - t; |
t = realloc(t, tn); | t = realloc(t, tn); |
te = t + pos; | te = t + pos; |
strncpy(te, a, alen); te += alen; | memcpy(te, a, alen+1); te += alen; |
continue; | continue; |
/*@notreached@*/ /*@switchbreak@*/ break; | /*@notreached@*/ /*@switchbreak@*/ break; |
default: | default: |