[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: Makefile.am
User: ahvezda
Date: 06/08/24 21:00:10
Modified: . Makefile.am o_misc.c
Log:
Fixed a few Makefiles to allow make distcheck to work again. Bumped version
numbers again, fixed a component update bug, and bunch of other last minute
piddly fixes.
Revision Changes Path
1.45 +0 -1 eda/geda/gaf/gschem/src/Makefile.am
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Makefile.am
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/Makefile.am,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- Makefile.am 20 Jul 2006 02:15:28 -0000 1.44
+++ Makefile.am 25 Aug 2006 01:00:09 -0000 1.45
@@ -3,7 +3,6 @@
# directory are distributed by the demo_distfiles variable in the top
# level Makefile.
#
-VPATH = ../include:src
bin_PROGRAMS = gschem
1.35 +11 -4 eda/geda/gaf/gschem/src/o_misc.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: o_misc.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_misc.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- o_misc.c 6 Aug 2006 16:45:29 -0000 1.34
+++ o_misc.c 25 Aug 2006 01:00:09 -0000 1.35
@@ -1652,11 +1652,13 @@
while (a_current != NULL) {
OBJECT *o_attrib;
gchar *name, *value;
+ char *attrfound;
g_assert (a_current->object->type == OBJ_TEXT);
o_attrib_get_name_value (a_current->object->text->string,
&name, &value);
- if (o_attrib_search_name (o_current, name, 0) == NULL) {
+ attrfound = o_attrib_search_name_single(o_current, name, NULL);
+ if (attrfound == NULL) {
/* attribute with same name not found in old component: */
/* add new attribute to old component */
@@ -1673,6 +1675,11 @@
o_redraw_single (w_current, o_attrib);
/* note: this object is unselected (not added to selection). */
}
+ else
+ {
+ g_free(attrfound);
+ }
+
a_current = a_current->next;
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs