[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #59958] race in Makefile at generation of e.tmac and doc.tmac with
From: |
anonymous |
Subject: |
[bug #59958] race in Makefile at generation of e.tmac and doc.tmac with bigger than -j1 eg. -j4 |
Date: |
Wed, 27 Jan 2021 22:48:56 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
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/
- [bug #59958] race in Makefile at generation of e.tmac and doc.tmac with bigger than -j1 eg. -j4,
anonymous <=