[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1230969 - /subversion/trunk/subversion/libsvn_delta/compat.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 13 Jan 2012 12:44:42 +0000

Hyrum K Wright <hyrum.wright_at_wandisco.com> writes:

>>       if (pb->copyfrom_path)
>>         {
>> -          const char *basename = svn_relpath_basename(path, result_pool);
>> +          const char *name = svn_relpath_basename(path, result_pool);
>
> What is this shadowing? My compiler isn't picking it up...

The POSIX function:

char *basename(char *path);

http://pubs.opengroup.org/onlinepubs/009695399/functions/basename.html

-- 
Philip
Received on 2012-01-13 13:45:33 CET

This is an archived mail posted to the Subversion Dev mailing list.