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

gEDA-cvs: CVS update: gsymcheck.c



  User: pbernaud
  Date: 05/02/20 12:10:04

  Modified:    .        gsymcheck.c
  Log:
  Adapted gschem for new logging system in libgeda.
  
  
  
  
  Revision  Changes    Path
  1.34      +7 -1      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.33
  retrieving revision 1.34
  diff -u -b -r1.33 -r1.34
  --- gsymcheck.c	19 Feb 2005 23:27:18 -0000	1.33
  +++ gsymcheck.c	20 Feb 2005 17:10:03 -0000	1.34
  @@ -55,6 +55,7 @@
     int fopen_status;
     char *cwd;
     struct stat buf;
  +  char *logfile;
     
     TOPLEVEL *pr_current;
     
  @@ -70,7 +71,12 @@
   
     /* create log file right away */
     /* even if logging is enabled */
  -  s_log_init(cwd, "gsymcheck.log");
  +  logfile = g_build_path (G_DIR_SEPARATOR_S,
  +                          cwd,
  +                          "gsymcheck.log",
  +                          NULL);
  +  s_log_init (logfile);
  +  g_free (logfile);
   	
     logging_dest=STDOUT_TTY;
     if (!quiet_mode)