From: Eric Wong Date: Wed, 1 Jan 2020 09:57:53 +0000 (+0000) Subject: doc/txt2pre: flush output before utime() X-Git-Tag: v1.3.0~161 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ef592197088078be53b73050ba5c1bee2728c090;p=public-inbox.git doc/txt2pre: flush output before utime() Otherwise our utime() change is overridden when the flush happens at exit. --- diff --git a/Documentation/txt2pre b/Documentation/txt2pre index 7cab0fa2..cb6a7613 100755 --- a/Documentation/txt2pre +++ b/Documentation/txt2pre @@ -22,6 +22,7 @@ print '', qq(), "$title", "
",  $str , '
'; +STDOUT->flush; # keep mtime on website consistent so clients can cache if (-f STDIN && -f STDOUT) {