|
|
Subscribe / Log in / New account

Two new ways to read a file quickly

Two new ways to read a file quickly

Posted Mar 6, 2020 21:45 UTC (Fri) by nivedita76 (subscriber, #121790)
In reply to: Two new ways to read a file quickly by flussence
Parent article: Two new ways to read a file quickly

Does it really? I thought the configure script opens the file handles it wants upfront, eg attaching 5 to config.log, and thereafter the commands that want to log just do >&5, which should just be a dup2 call?


to post comments

Two new ways to read a file quickly

Posted Mar 6, 2020 23:06 UTC (Fri) by flussence (guest, #85566) [Link]

You're right, it looks like they already thought of this. There's still a few hundred lines that don't: >$CONFIG_STATUS (containing a string filename) and >/dev/null and the like. But that's something autotools upstream could fix on their own if they wanted.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds