aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/mk
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-10-31 16:42:32 +0000
committerrsc <devnull@localhost>2005-10-31 16:42:32 +0000
commit74374cc8a40c450423785015c2e30d5a2ed2920c (patch)
tree1d8a5ca97056a320115a342fd251aa0cf0cda751 /src/cmd/mk
parentb330c942b468ab82fd8853590145187e859258cb (diff)
downloadplan9port-74374cc8a40c450423785015c2e30d5a2ed2920c.tar.gz
plan9port-74374cc8a40c450423785015c2e30d5a2ed2920c.tar.bz2
plan9port-74374cc8a40c450423785015c2e30d5a2ed2920c.zip
ctype sign fixes (Tom Miller)
Diffstat (limited to 'src/cmd/mk')
-rw-r--r--src/cmd/mk/archive.c2
-rw-r--r--src/cmd/mk/rule.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/mk/archive.c b/src/cmd/mk/archive.c
index 07aa565f..9955b3fd 100644
--- a/src/cmd/mk/archive.c
+++ b/src/cmd/mk/archive.c
@@ -171,7 +171,7 @@ atimes(char *ar)
continue;
}
goto skip;
- }else if(strings && h.name[0]=='/' && isdigit(h.name[1])){
+ }else if(strings && h.name[0]=='/' && isdigit((uchar)h.name[1])){
i = strtol(h.name+1, &p, 10);
if(*p != ' ' || i >= strlen(strings))
goto skip;
diff --git a/src/cmd/mk/rule.c b/src/cmd/mk/rule.c
index d73595d2..8613955b 100644
--- a/src/cmd/mk/rule.c
+++ b/src/cmd/mk/rule.c
@@ -83,6 +83,7 @@ dumpr(char *s, Rule *r)
Bprint(&bout, " prog='%s'", r->prog);
Bprint(&bout, "\n\ttarget=%s: %s\n", r->target, wtos(r->tail, ' '));
Bprint(&bout, "\trecipe@%ld='%s'\n", r->recipe, r->recipe);
+break;
}
}