Adrian M. Enache [Sat, 19 Apr 2003 20:12:18 +0000 (23:12 +0300)]
Message-ID: <
20030419171218.GA974@ratsnest.hole>
p4raw-id: //depot/perl@19281
#else
bytesread = PerlIO_read(fp, buffer, recsize);
#endif
+ if (bytesread < 0)
+ bytesread = 0;
SvCUR_set(sv, bytesread += append);
buffer[bytesread] = '\0';
goto return_string_or_null;