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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-162-geb77a42)



The branch, master has been updated
       via  eb77a42fd47ae8dfd8218fadca1eb1ab6fd6b8e0 (commit)
      from  0726171f20b716c9de69d0ae843b338d78ac22ad (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
=========

 libgeda/src/f_basic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit eb77a42fd47ae8dfd8218fadca1eb1ab6fd6b8e0
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Tue Sep 9 01:23:03 2008 +0100

    Fix error message given when file cannot be found.
    
    The codes used in the GError are not the same as those returned in errno.
    Construct our message using the string from the GError, rather than
    incorrectly using the GError's code with g_strerror.

:100644 100644 ac7f492... 1215b1d... M	libgeda/src/f_basic.c

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

commit eb77a42fd47ae8dfd8218fadca1eb1ab6fd6b8e0
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Tue Sep 9 01:23:03 2008 +0100

    Fix error message given when file cannot be found.
    
    The codes used in the GError are not the same as those returned in errno.
    Construct our message using the string from the GError, rather than
    incorrectly using the GError's code with g_strerror.

diff --git a/libgeda/src/f_basic.c b/libgeda/src/f_basic.c
index ac7f492..1215b1d 100644
--- a/libgeda/src/f_basic.c
+++ b/libgeda/src/f_basic.c
@@ -211,7 +211,7 @@ int f_open_flags(TOPLEVEL *toplevel, const gchar *filename,
   if (full_filename == NULL) {
     g_set_error (err, G_FILE_ERROR, tmp_err->code,
                  _("Cannot find file %s: %s"),
-                 filename, g_strerror (tmp_err->code));
+                 filename, tmp_err->message);
     g_error_free(tmp_err);
     return 0;
   }




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs