svn commit: r193223 - head/bin/sh
Ralf S. Engelschall
rse at FreeBSD.org
Mon Jun 1 11:11:47 UTC 2009
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();
More information about the svn-src-head
mailing list