|
From: | Paul Smith |
Subject: | Re: [bug #60774] make hangs on fcntl lock when using -O and stdout is /dev/null |
Date: | Mon, 26 Jul 2021 09:47:49 -0400 |
User-agent: | Evolution 3.36.5-0ubuntu1 |
On Sun, 2021-07-25 at 17:29 -0700, David Boyce wrote: > It's simple to detect this on a Unix-like host (see sample script > below) and my contention is that this is "plenty portable enough" Ah. Yes, determining if stdout is /dev/null can be done. I was definitely having an off day yesterday and forgot about fstat()! Thanks for that reminder.
[Prev in Thread] | Current Thread | [Next in Thread] |