[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/Attic/output.c,v [branch-1_4]
From: |
Eric Blake |
Subject: |
Changes to m4/src/Attic/output.c,v [branch-1_4] |
Date: |
Mon, 10 Jul 2006 01:44:12 +0000 |
CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/07/10 01:44:10
Index: src/output.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/output.c,v
retrieving revision 1.1.1.1.2.6
retrieving revision 1.1.1.1.2.7
diff -u -b -r1.1.1.1.2.6 -r1.1.1.1.2.7
--- src/output.c 23 Jun 2006 13:06:10 -0000 1.1.1.1.2.6
+++ src/output.c 10 Jul 2006 01:44:10 -0000 1.1.1.1.2.7
@@ -476,9 +476,10 @@
{
struct diversion *diversion;
- /* Do not care about unexisting diversions. */
+ /* Do not care about unexisting diversions. Also, diversion 0 is stdout,
+ which is effectively always empty. */
- if (divnum < 0 || divnum >= diversions)
+ if (divnum <= 0 || divnum >= diversions)
return;
/* Also avoid undiverting into self. */
- Changes to m4/src/Attic/output.c,v [branch-1_4],
Eric Blake <=