diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | match.c | 2 | ||||
-rw-r--r-- | stream.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -3,6 +3,10 @@ * utf8.c (w_fopen, w_popen): Removing unnecessary casts of return values of ut8_dup_to. + * match.c (complex_open): Likewise. + + * stream.c (w_opendir): Likewise. + 2012-05-18 Kaz Kylheku <kaz@kylheku.com> Implementing new pipe function to get around the limitation @@ -1489,7 +1489,7 @@ static fpip_t complex_open(val name, val output, val append) char *name; if (output) return ret; - name = (char *) utf8_dup_to(namestr+1); + name = utf8_dup_to(namestr+1); ret.close = fpip_closedir; ret.d = opendir(name); free(name); @@ -1470,7 +1470,7 @@ val flush_stream(val stream) static DIR *w_opendir(const wchar_t *wname) { - char *name = (char *) utf8_dup_to(wname); + char *name = utf8_dup_to(wname); DIR *d = opendir(name); free(name); return d; |