[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: gsymcheck.c
User: cnieves
Date: 06/04/09 06:54:22
Modified: . gsymcheck.c
Log:
Enable logging when the filename specified couldn't be found.
Thanks to Hans for reporting the bug and providing the patch.
This fixes bug 1452836.
Revision Changes Path
1.38 +1 -0 eda/geda/devel/gsymcheck/src/gsymcheck.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: gsymcheck.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gsymcheck/src/gsymcheck.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- gsymcheck.c 7 Mar 2005 02:11:37 -0000 1.37
+++ gsymcheck.c 9 Apr 2006 10:54:22 -0000 1.38
@@ -118,6 +118,7 @@
}
if (stat(filename, &buf) != 0) {
+ logging_dest = STDOUT_TTY;
s_log_message("Could not open [%s]\n", filename);
s_log_message("Exiting...\n");
exit(2); /* error */