On 11/7/05, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 11/7/05, svn-builder@shadyvale.net <svn-builder@shadyvale.net> wrote:
> > Last 100 lines of the build log (full log attached):
> >
> > Running all tests in commit_tests.py...FAILURE
> > Running all tests in update_tests.py...success
> > Running all tests in switch_tests.py...success
> > Running all tests in prop_tests.py...success
> > Running all tests in schedule_tests.py...success
> > Running all tests in log_tests.py...success
> > Running all tests in copy_tests.py...success
> > Running all tests in diff_tests.py...FAILURE
>
> svn: Can't get attribute information from file 'nul': Incorrect function.
> FAIL: diff_tests.py 2: add a file
>
> Grr! Seems I'll need to have another look at what's currently done
> with the NUL file. Anybody who has an idea why svn would need
> attributes from an empty file to diff against?
Ok, found it: diff_file.c uses a call to svn_io_file_info_get to
retrieve file length. There are 2 solutions: reading until we get an
incomplete chunk (without an error) and taking that as an eof()
signal, or, compare check for this specific error and the null device
name and ignore that (on windows)...
bye,
Erik.
Received on Mon Nov 7 13:36:32 2005