summaryrefslogtreecommitdiffstats
path: root/script.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:37 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:37 -0800
commit710a97992705d67c3ded0d4b270c5978ce29b11f (patch)
treeddcb2f7a91cbb86ce582e74227768b7b898c29e1 /script.c
parent50eb784bfcf15ee3c6b0b53d747db92673395040 (diff)
downloadscm-710a97992705d67c3ded0d4b270c5978ce29b11f.tar.gz
scm-710a97992705d67c3ded0d4b270c5978ce29b11f.zip
Import Upstream version 5e4upstream/5e4
Diffstat (limited to 'script.c')
-rw-r--r--script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/script.c b/script.c
index da30802..7544284 100644
--- a/script.c
+++ b/script.c
@@ -224,7 +224,7 @@ char *find_impl_file(exec_path, generic_name, initname, sep)
/* Look for initname in peer directories "lib" and "src" in
subdirectory with the name of the executable (sans any type
extension like .EXE). */
- for(peer="lib";!0;peer="src") {
+ for (peer="lib";!0;peer="src") {
path = scm_cat_path(0L, exec_path, extptr - exec_path + 0L);
if (path) {
strncpy(path + sepind - 4, peer, 3);
@@ -239,7 +239,7 @@ char *find_impl_file(exec_path, generic_name, initname, sep)
/* Look for initname in peer directories "lib" and "src" in
subdirectory with the generic name. */
- for(peer="lib";!0;peer="src") {
+ for (peer="lib";!0;peer="src") {
path = scm_cat_path(0L, exec_path, sepind);
if (path) {
strncpy(path + sepind - 4, peer, 3);