Discussion:
whitespace patch rm.c
Edgar Pettijohn
2016-01-27 23:25:53 UTC
Permalink
Index: rm.c
===================================================================
RCS file: /cvs/src/bin/rm/rm.c,v
retrieving revision 1.35
diff -u -p -u -r1.35 rm.c
--- rm.c 17 Nov 2015 17:17:24 -0000 1.35
+++ rm.c 27 Jan 2016 23:20:05 -0000
@@ -399,7 +399,7 @@ checkdot(char **argv)
complained = 0;
for (t = argv; *t;) {
/* strip trailing slashes */
- p = strrchr (*t, '\0');
+ p = strrchr(*t, '\0');
while (--p > *t && *p == '/')
*p = '\0';


Not subscribed to list "cc" if you wish.
Gleydson Soares
2016-01-29 17:57:56 UTC
Permalink
Looks right and obvious. OK gsoares@

On Wed, Jan 27, 2016 at 8:25 PM, Edgar Pettijohn
Post by Edgar Pettijohn
Index: rm.c
===================================================================
RCS file: /cvs/src/bin/rm/rm.c,v
retrieving revision 1.35
diff -u -p -u -r1.35 rm.c
--- rm.c 17 Nov 2015 17:17:24 -0000 1.35
+++ rm.c 27 Jan 2016 23:20:05 -0000
@@ -399,7 +399,7 @@ checkdot(char **argv)
complained = 0;
for (t = argv; *t;) {
/* strip trailing slashes */
- p = strrchr (*t, '\0');
+ p = strrchr(*t, '\0');
while (--p > *t && *p == '/')
*p = '\0';
Not subscribed to list "cc" if you wish.
Loading...