zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: pws-22: ambiguous brace warning
@ 1999-06-16 22:03 Wayne Davison
  0 siblings, 0 replies; only message in thread
From: Wayne Davison @ 1999-06-16 22:03 UTC (permalink / raw)
  To: Zsh Workers

The following patch fixes an ambiguous brace warning that is present
in pws-22:

Index: Src/exec.c
--- zsh-3.1.5-pws-22/Src/exec.c	Mon Jun 14 09:14:30 1999
+++ ./Src/exec.c	Wed Jun 16 13:21:38 1999
@@ -1006,11 +1006,12 @@
     oldlineno = lineno;
     lineno = pline->left->lineno;
 
-    if (pline_level == 1)
+    if (pline_level == 1) {
 	if (!sfcontext)
 	    strcpy(list_pipe_text, getjobtext((void *) pline->left));
 	else
 	    list_pipe_text[0] = '\0';
+    }
     if (pline->type == END)
 	execcmd(pline->left, input, output, how, last1 ? 1 : 2);
     else {

..wayne..


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-16 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-16 22:03 PATCH: pws-22: ambiguous brace warning Wayne Davison

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).