Bug in function previous_segment of subversion/libsvn_subr/path.c on trunk 36335
From: Marc Haesen <marc.haesen_at_oneaccess-net.com>
Date: Thu, 5 Mar 2009 12:33:58 +0100
When running the attached batch file in windows at the root dir of a
static apr_size_t
while (len > 0 && path[--len] != '/')
if (len == 0 && path[0] == '/')
The case of an absolute path with no previous segments is handled
For windows it should be changed to:
static apr_size_t
while (len > 0 && path[--len] != '/')
if (len == 0 && path[0] == '/')
With this fix, the attached batch file is running fine.
Regards,
------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.