OSDN Git Service

Cleanup cpio: use getline() instead of fgets(), have getline() allocate its own memor...
authorRob Landley <rob@landley.net>
Fri, 14 Mar 2014 00:55:59 +0000 (19:55 -0500)
committerRob Landley <rob@landley.net>
Fri, 14 Mar 2014 00:55:59 +0000 (19:55 -0500)
commit2c451a89be65778ae3b1af011029181e917f988b
treef96f5ae7b124d61e7675583a6ecc55b9d83b5665
parentbab79fe8d6fd57de66761de6263b405ad237edf7
Cleanup cpio: use getline() instead of fgets(), have getline() allocate its own memory (instead of using toybuf), use perror_msg() instead of lower level verror_msg() (which is really an internal function needed to implement perror_msg()), don't set execute bits on created archive.
toys/pending/cpio.c