This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
broken again/still.
On 1/13/09, Mark J. Reed wrote:On Tue, Jan 13, 2009 at 2:52 PM, greenup wrote: > your perl test was a nice try; but it also did not remove the file, > which is revealing. I should have included a return code check:
perl -e 'unlink("goo/foo") or die $!'
dz@w2 ~ $ perl -e 'unlink("goo/foo") or die $!'
dz@w2 ~ $ echo $? 0
dz@w2 ~ $ ls -la goo total 0 drwxr-xr-x+ 2 dz mkgroup-l-d 0 Jan 13 14:47 . drwxrwx---+ 25 Administrators SYSTEM 0 Jan 13 14:46 .. -r-------- 1 dz mkgroup-l-d 0 Jan 13 14:47 foo
-- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746
A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email?
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |