[Bug 1236] SCP inappropriate truncate error when copying to FIFO file
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Wed Jun 13 01:20:04 EST 2007
http://bugzilla.mindrot.org/show_bug.cgi?id=1236
--- Comment #3 from Tom Wood <wood at xmission.com> 2007-06-13 01:20:02 ---
Damien,
Your fix to this problem
"if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) &&
ftruncate(ofd, size) != 0) {"
looks like it will work just fine with a FIFO file target.This logic
restricts the ftruncate test much more than my fix. As lonk as
thats appropriate for all mode types, I agrre it is the right thing to
do.
Thanks
Tom
--
Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list