[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/geas/src schema.c
From: |
Neil Tiffin |
Subject: |
gnue/geas/src schema.c |
Date: |
Mon, 10 Sep 2001 15:28:30 -0400 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Neil Tiffin <address@hidden> 01/09/10 15:28:30
Modified files:
geas/src : schema.c
Log message:
Fix bug in null gcd filename.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/geas/src/schema.c.diff?cvsroot=OldCVS&tr1=1.16&tr2=1.17&r1=text&r2=text
Patches:
Index: gnue/geas/src/schema.c
diff -u gnue/geas/src/schema.c:1.16 gnue/geas/src/schema.c:1.17
--- gnue/geas/src/schema.c:1.16 Fri Sep 7 15:25:31 2001
+++ gnue/geas/src/schema.c Mon Sep 10 15:28:30 2001
@@ -19,7 +19,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- $Id: schema.c,v 1.16 2001/09/07 19:25:31 ntiffin Exp $
+ $Id: schema.c,v 1.17 2001/09/10 19:28:30 ntiffin Exp $
*/
@@ -128,8 +128,11 @@
/* class name */
retval->name = CORBA_string_dup (odl_class_get_full_name (c));
- retval->gcdfilename = CORBA_string_dup
(g_basename(odl_class_get_gcd_filename (c)));
-
+ if ( odl_class_get_gcd_filename (c) )
+ {
+ retval->gcdfilename = CORBA_string_dup
(g_basename(odl_class_get_gcd_filename (c)));
+ }
+
/* parents */
l = c->parents;
count = g_list_length (l);
- gnue/geas/src schema.c,
Neil Tiffin <=