[vlc-devel] [PATCH]Change read to fstat

Kaarlo Räihä kaarlo.raiha at gmail.com
Sun Jan 29 17:13:00 CET 2012

Related to #5946

I noticed modules/access/file.c has two parts which have msg_Err (p_access,
"failed to read (%m)"); (lines 187 and 297). In yearly years this wasn't
issue since it also printed the function name (access_file error:
fstat(3):) but now it is just filesystem error:

With this patch it is easier to see from messages if the read part fails or
if the fstat part fails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120129/b69c1132/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-read-fstat.patch
Type: application/octet-stream
Size: 754 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120129/b69c1132/attachment.obj>

More information about the vlc-devel mailing list