[Toybox] [PATCH] cp - typo
Sameer Pradhan
sameer.p.pradhan at gmail.com
Fri Jul 17 00:56:56 PDT 2015
Hi Rob & List,
There is a typo in cp.c for __preserve__ option.
--- a/toys/posix/cp.c 2015-07-17 13:03:28.000000000 +0530
+++ b/toys/posix/cp.c 2015-07-17 13:06:48.000000000 +0530
@@ -355,7 +355,7 @@
}
}
- if (*s) error_exit("bad --preserve=%s", pre);
+ if (!*s) error_exit("bad --preserve=%s", pre);
}
free(pre);
}
--
Thanks & Regards
Sameer Prakash Pradhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150717/45f59af2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp.c.patch
Type: application/octet-stream
Size: 292 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150717/45f59af2/attachment.obj>
More information about the Toybox
mailing list