vcs-svn: Check for errors from open()
test-svn-fe segfaults when passed a bogus path. Simplify debugging by exiting with a meaningful error message instead. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
1f05d07c45
commit
5c28a8b054
@ -1,7 +1,7 @@
|
||||
#ifndef SVNDUMP_H_
|
||||
#define SVNDUMP_H_
|
||||
|
||||
void svndump_init(const char *filename);
|
||||
int svndump_init(const char *filename);
|
||||
void svndump_read(const char *url);
|
||||
void svndump_deinit(void);
|
||||
void svndump_reset(void);
|
||||
|
Reference in New Issue
Block a user