URL: <https://savannah.gnu.org/bugs/?59958>
Summary: race in Makefile at generation of e.tmac and doc.tmac with bigger than -j1 eg. -j4 Project: GNU troff Submitted by: None Submitted on: Thu 28 Jan 2021 03:48:55 AM UTC Category: None Severity: 3 - Normal Item Group: Build/Installation Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: patch attached, it's self-evident now. nobody should be affected if '>' bash operator works as expected, I guess. The only question is, what does '>' do if it happens in parallel to the same file ? maybe if the file is big enough, it would overwrite some contents... My '>' had O_APPEND in addition, so it only added to it, in effect increasing e.tmac and doc.tmac file sizes when make -j4 (not -j1) was used. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 28 Jan 2021 03:48:55 AM UTC Name: groff_fix_tmac_race.patch Size: 596B By: None <http://savannah.gnu.org/bugs/download.php?file_id=50797> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59958> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/