[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix output-sync option on EMX
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Fix output-sync option on EMX |
Date: |
Tue, 14 Jan 2014 19:41:52 +0200 |
> From: Pavel Fedin <address@hidden>
> Date: Tue, 14 Jan 2014 11:11:35 +0400
>
> This is part of my spawn-patch for Make. The purpose of this piece is to
> add missing support for output-sync option to spawn()-based flavors
> (currently only EMX).
Thanks, but does EMX support output-sync? If not, this fragment:
+ /* Divert child output if output_sync in use. */
+ if (child->output.syncout)
+ {
+ if (child->output.out >= 0)
+ outfd = child->output.out;
+ if (child->output.err >= 0)
+ errfd = child->output.err;
+ }
+
should be conditioned on NO_OUTPUT_SYNC. Otherwise we are breaking
the EMX build of Make.