Looks right and obvious. OK gsoares@
On Wed, Jan 27, 2016 at 8:25 PM, Edgar Pettijohn
<[email protected]> wrote:
> 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.
>