[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: gattrib.c
User: pbernaud
Date: 05/02/20 12:09:19
Modified: . gattrib.c
Log:
Adapted gschem for new logging system in libgeda.
Revision Changes Path
1.12 +7 -1 eda/geda/devel/gattrib/src/gattrib.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: gattrib.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gattrib/src/gattrib.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gattrib.c 12 Feb 2005 16:43:41 -0000 1.11
+++ gattrib.c 20 Feb 2005 17:09:18 -0000 1.12
@@ -117,6 +117,7 @@
char *cwd;
char *input_str;
PAGE *p_local;
+ char *logfile;
@@ -130,7 +131,12 @@
/* ---------- create log file right away ---------- */
/* ---------- even if logging is enabled ---------- */
- s_log_init(cwd, "gattrib.log");
+ logfile = g_build_path (G_DIR_SEPARATOR_S,
+ cwd,
+ "gattrib.log",
+ NULL);
+ s_log_init (logfile);
+ g_free (logfile);
s_log_message
("gEDA/gattrib version %s\n", VERSION);