Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 11:11:46 +0000 (UTC)
From:      "Ralf S. Engelschall" <rse@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193223 - head/bin/sh
Message-ID:  <200906011111.n51BBkZt077175@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rse
Date: Mon Jun  1 11:11:46 2009
New Revision: 193223
URL: http://svn.freebsd.org/changeset/base/193223

Log:
  align coding style with style(9) to avoid misunderstandings

Modified:
  head/bin/sh/exec.c

Modified: head/bin/sh/exec.c
==============================================================================
--- head/bin/sh/exec.c	Mon Jun  1 11:02:09 2009	(r193222)
+++ head/bin/sh/exec.c	Mon Jun  1 11:11:46 2009	(r193223)
@@ -187,7 +187,8 @@ padvance(char **path, char *name)
 	if (*path == NULL)
 		return NULL;
 	start = *path;
-	for (p = start ; *p && *p != ':' && *p != '%' ; p++);
+	for (p = start; *p && *p != ':' && *p != '%'; p++)
+		; /* nothing */
 	len = p - start + strlen(name) + 2;	/* "2" is for '/' and '\0' */
 	while (stackblocksize() < len)
 		growstackblock();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906011111.n51BBkZt077175>