goffice r2298 - in trunk: . goffice/utils
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2298 - in trunk: . goffice/utils
- Date: Thu, 25 Dec 2008 02:48:32 +0000 (UTC)
Author: mortenw
Date: Thu Dec 25 02:48:31 2008
New Revision: 2298
URL: http://svn.gnome.org/viewvc/goffice?rev=2298&view=rev
Log:
2008-12-24 Morten Welinder <terra gnome org>
* goffice/utils/go-file.c (is_fd_uri): Allow terminating slash.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/goffice/utils/go-file.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Thu Dec 25 02:48:31 2008
@@ -27,6 +27,7 @@
* Fix memory corruption issue. [#561708]
* Fix problem with formats like "0.0E-00". [#563601]
* Put the old 29-Feb-1900 problem to rest.
+ * Fix fd://<n> uris after lobognomification.
Pedro Fragoso:
* Clean up glib includes. [#564021]
Modified: trunk/goffice/utils/go-file.c
==============================================================================
--- trunk/goffice/utils/go-file.c (original)
+++ trunk/goffice/utils/go-file.c Thu Dec 25 02:48:31 2008
@@ -401,6 +401,11 @@
return FALSE; /* Space, for example. */
ul = strtoul (uri, &end, 10);
+
+ /* Accept a terminating slash because go_shell_arg_to_uri will add
+ one. */
+ if (*end == '/') end++;
+
if (*end != 0 || ul > INT_MAX)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]