[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-tech
Subject: Re: whitespace patch rm.c
From: Gleydson Soares <gsoares () gmail ! com>
Date: 2016-01-29 17:57:56
Message-ID: CADeZm30iSyhjeE1uf492b2=k_XE+iQ_ktUZ+a74yLSciKPtxEw () mail ! gmail ! com
[Download RAW message or body]
Looks right and obvious. OK gsoares@
On Wed, Jan 27, 2016 at 8:25 PM, Edgar Pettijohn
<edgar@pettijohn-web.com> 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.
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic