summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-11-24 03:05:11 +0000
committerJim Meyering <jim@meyering.net>1996-11-24 03:05:11 +0000
commit0e0ae2b348fd04f1032e17839f7e0b228159413d (patch)
tree509d421bfee37056d8b59a035cdb9552d1224da1 /lib
parentcb7fcc32ff6db0bf545d7bbf3f165b9c69efc9c1 (diff)
downloadcoreutils-0e0ae2b348fd04f1032e17839f7e0b228159413d.tar.xz
remove trailing blanks
Diffstat (limited to 'lib')
-rw-r--r--lib/getusershell.c2
-rw-r--r--lib/group-member.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/getusershell.c b/lib/getusershell.c
index dfed7a6c4..2f167181c 100644
--- a/lib/getusershell.c
+++ b/lib/getusershell.c
@@ -177,7 +177,7 @@ readname (name, size, stream)
/* Skip blank space. */
while ((c = getc (stream)) != EOF && isspace (c))
/* Do nothing. */ ;
-
+
while (c != EOF && !isspace (c))
{
(*name)[name_index++] = c;
diff --git a/lib/group-member.c b/lib/group-member.c
index 9a079e293..4ca8cb51a 100644
--- a/lib/group-member.c
+++ b/lib/group-member.c
@@ -120,7 +120,7 @@ group_member (gid)
break;
}
}
-
+
free_group_info (gi);
return found;