diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2007-06-20 22:12:10 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2007-06-20 22:12:10 +0000 |
| commit | 0f995c6310ab470d409d7c054fcb26dc3d29e43b (patch) | |
| tree | 3e3f146f7c110eb10a73b20660bf924a4428f15e /src/xml/repr-io.cpp | |
| parent | Another round of extension conversion (from pyxml to lxml) and some corrections (diff) | |
| download | inkscape-0f995c6310ab470d409d7c054fcb26dc3d29e43b.tar.gz inkscape-0f995c6310ab470d409d7c054fcb26dc3d29e43b.zip | |
Add fixme comment re testing for file existence inside g_return_if_fail.
(bzr r3080)
Diffstat (limited to 'src/xml/repr-io.cpp')
| -rw-r--r-- | src/xml/repr-io.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index c1d764a8b..8369fb803 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -244,6 +244,9 @@ sp_repr_read_file (const gchar * filename, const gchar *default_ns) g_return_val_if_fail (filename != NULL, NULL); g_return_val_if_fail (Inkscape::IO::file_test( filename, G_FILE_TEST_EXISTS ), NULL); + /* fixme: A file can disappear at any time, including between now and when we actually try to + * open it. Get rid of the above test once we're sure that we correctly handle + * non-existence. */ // TODO: bulia, please look over gsize bytesRead = 0; |
