[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: stable-1.4 updated (1.4.2-20081220-9-g6f001ab)



The branch, stable-1.4 has been updated
       via  6f001abc5c1fc69bb5bfbece189efbd231a8ed4c (commit)
      from  89bb8cf750c586b5b291f2fd90d204791650dae5 (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 6f001abc5c1fc69bb5bfbece189efbd231a8ed4c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Wed Dec 24 04:13:26 2008 +0000

    gschlas: Fix segfault opening file
    
    Segfault introduced in commit b635ebb641383360e5e7864830d42d13cf7f4d12.
    
    (cherry picked from commit 46fdb00b19d300dfcc5f9009f9c7dbbf0940834f)

:100644 100644 6b553ac... b1d9c3d... M	utils/gschlas/gschlas.c

=========
 Changes
=========

commit 6f001abc5c1fc69bb5bfbece189efbd231a8ed4c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Wed Dec 24 04:13:26 2008 +0000

    gschlas: Fix segfault opening file
    
    Segfault introduced in commit b635ebb641383360e5e7864830d42d13cf7f4d12.
    
    (cherry picked from commit 46fdb00b19d300dfcc5f9009f9c7dbbf0940834f)

diff --git a/utils/gschlas/gschlas.c b/utils/gschlas/gschlas.c
index 6b553ac..b1d9c3d 100644
--- a/utils/gschlas/gschlas.c
+++ b/utils/gschlas/gschlas.c
@@ -116,9 +116,9 @@ main_prog(void *closure, int argc, char *argv[])
       filename = g_build_path (G_DIR_SEPARATOR_S, 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