[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.1-20081221-30-g46fdb00)
The branch, master has been updated
via 46fdb00b19d300dfcc5f9009f9c7dbbf0940834f (commit)
from 95a097e95de6291ccf901f6849c7246e8e04090a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
utils/gschlas/gschlas.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
=================
Commit Messages
=================
commit 46fdb00b19d300dfcc5f9009f9c7dbbf0940834f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Wed Dec 24 04:01:46 2008 +0000
gschlas: Fix segfault opening file
Segfault introduced in commit b635ebb641383360e5e7864830d42d13cf7f4d12.
:100644 100644 4d8d954... a30de63... M utils/gschlas/gschlas.c
=========
Changes
=========
commit 46fdb00b19d300dfcc5f9009f9c7dbbf0940834f
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Wed Dec 24 04:01:46 2008 +0000
gschlas: Fix segfault opening file
Segfault introduced in commit b635ebb641383360e5e7864830d42d13cf7f4d12.
diff --git a/utils/gschlas/gschlas.c b/utils/gschlas/gschlas.c
index 4d8d954..a30de63 100644
--- a/utils/gschlas/gschlas.c
+++ b/utils/gschlas/gschlas.c
@@ -113,9 +113,9 @@ main_prog(void *closure, int argc, char *argv[])
filename = g_build_filename (cwd, argv[i], NULL);
}
- if (!f_open (pr_current,
- pr_current->page_current->page_filename,
- &err)) {
+ s_page_goto (pr_current, s_page_new (pr_current, filename));
+
+ if (!f_open (pr_current, pr_current->page_current->page_filename, &err)) {
/* Not being able to load a file is apparently a fatal error */
logging_dest = STDOUT_TTY;
g_warning ("%s\n", err->message);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs