summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-05-04 14:31:27 +0000
committerJim Meyering <jim@meyering.net>1999-05-04 14:31:27 +0000
commitb08eca15fde733af2c63de6f860e35638fdfa2f0 (patch)
tree1ba52c9b6e1a09e586cce8f74726abb7e60df69c /src
parent6f922edf2d69f532d5b762f4cc3bf4a631b2134b (diff)
downloadcoreutils-b08eca15fde733af2c63de6f860e35638fdfa2f0.tar.xz
(search_item): Use `1' instead of `+1'. The latter
elicits a syntax error from SunOS4's cc. From Kaveh Ghazi.
Diffstat (limited to 'src')
-rw-r--r--src/tsort.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tsort.c b/src/tsort.c
index 05a3bc0eb..0eb9b5796 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -181,7 +181,7 @@ search_item (struct item *root, const char *str)
else
{
r = p = s->right;
- a = +1;
+ a = 1;
}
while (p != q)
@@ -194,7 +194,7 @@ search_item (struct item *root, const char *str)
}
else
{
- p->balance = +1;
+ p->balance = 1;
p = p->right;
}
}