diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-10-09 12:05:51 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-10-09 12:05:51 +0000 |
commit | 509212aa98c5e38adb67481a079c9a09d3829f44 (patch) | |
tree | b5cdc614c48c429cb7bd1f595795485d51a44a0a /newlib/libc/stdio/fgets.c | |
parent | 277e7f0e2e6fc9fb533b301fc0627cfe4fd9d1ae (diff) | |
download | cygnal-509212aa98c5e38adb67481a079c9a09d3829f44.tar.gz cygnal-509212aa98c5e38adb67481a079c9a09d3829f44.tar.bz2 cygnal-509212aa98c5e38adb67481a079c9a09d3829f44.zip |
* libc/posix/wordfree.c (wordfree): The wrong words are freed
when WRDE_DOOFFS is in use. Restructure the code so that the memory
needed to be freed is instead kept in an internal linked list...
* libc/posix/wordexp2.h: ...as defined here...
* libc/posix/wordexp.c (wordexp): ...and build this internal
linked list here, avoiding wasteful strdup calls in the process.
Diffstat (limited to 'newlib/libc/stdio/fgets.c')
0 files changed, 0 insertions, 0 deletions