comparison toys/pending/uudecode.c @ 828:1fdaba9a7124

uuencode/decode tests and tweaks from Erich Plondke.
author Rob Landley <rob@landley.net>
date Fri, 22 Mar 2013 00:26:12 -0500
parents 0429050a224b
children 1c61f2827bf8
comparison
equal deleted inserted replaced
0:51f512ef61cd 1:192194c0760f
169 out_filename = p; 169 out_filename = p;
170 } 170 }
171 ofd = xcreate(out_filename,O_WRONLY|O_CREAT|O_TRUNC,mode); 171 ofd = xcreate(out_filename,O_WRONLY|O_CREAT|O_TRUNC,mode);
172 free(line); 172 free(line);
173 decoder(ifd,ofd); 173 decoder(ifd,ofd);
174 if (TOYBOX_CLEANUP) close(ofd);
174 } 175 }