Thread (27 messages) flat view 27 messages, 4 authors, 2018-10-02

Re: [PATCH 1/2] fsck: use strbuf_getline() to read skiplist file

From: René Scharfe <hidden>
Date: 2018-08-11 21:00:34

Am 11.08.2018 um 18:48 schrieb Jeff King:
And one I'm not sure about:

  - a read() error will now be quietly ignored; I guess we'd have to
    check ferror(fp) to cover this. I'm not sure if it matters.
I'm not sure, either.  It would catch media errors or file system
corruption, right?  Sounds useful, actually.  We should check the other
callers of strbuf_getline and friends as well, though, as reporting such
errors seems to be omitted in most cases:

	$ git grep strbuf_getline | wc -l
	99
	$ git grep ferror | wc -l
	35

René
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help