svn commit: r284105 - head/bin/cp

Bryan Drewery bdrewery at FreeBSD.org
Sun Jun 7 22:41:49 UTC 2015


On 6/7/2015 9:06 AM, Konstantin Belousov wrote:
> On Sun, Jun 07, 2015 at 03:49:42AM +0000, Bryan Drewery wrote:
>> Author: bdrewery
>> Date: Sun Jun  7 03:49:41 2015
>> New Revision: 284105
>> URL: https://svnweb.freebsd.org/changeset/base/284105
>>
>> Log:
>>   Cleanup some indentation issues.
>>
>> Modified:
>>   head/bin/cp/utils.c
>>
>> Modified: head/bin/cp/utils.c
>> ==============================================================================
>> --- head/bin/cp/utils.c	Sat Jun  6 22:03:24 2015	(r284104)
>> +++ head/bin/cp/utils.c	Sun Jun  7 03:49:41 2015	(r284105)
>> @@ -122,18 +122,17 @@ copy_file(const FTSENT *entp, int dne)
>>  		    /* remove existing destination file name, 
>>  		     * create a new file  */
>>  		    (void)unlink(to.p_path);
>> -				if (!lflag)
>> +		    if (!lflag) {
> It seems that the next two lines are indented in a funny way as well.

I fixed the "look" around code I was updating to make my update more clear.

The whitespace in the lines I updated in this commit is still wrong in
many ways. There's several style/whitespace issues in the bin/cp files
and I wasn't sure what scope of reindentation would be acceptable to
others. If there's no objection I will cleanup all of the bin/cp files.


Regards,
Bryan Drewery



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150607/49c1e735/attachment.sig>


More information about the svn-src-head mailing list