Bruno Haible <br...@clisp.org> writes: >> On a different note, it was suggested to disable stdio buffering if >> RF_SENSITIVE is set. I am attaching a patch for this. > > Reading from a regular file in an unbuffered way can be terribly slow. > But here, fread_file reads in large chunks, therefore it's OK. > > Also, in the specification of fread_file, I would add a note. Maybe like > this?
Thank you, amended the documentation and pushed. Regards, -- Daiki Ueno