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

gEDA-cvs: CVS update: gnetlist.c



  User: pbernaud
  Date: 05/02/20 12:09:53

  Modified:    .        gnetlist.c
  Log:
  Adapted gschem for new logging system in libgeda.
  
  
  
  
  Revision  Changes    Path
  1.46      +7 -1      eda/geda/devel/gnetlist/src/gnetlist.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gnetlist.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gnetlist/src/gnetlist.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -b -r1.45 -r1.46
  --- gnetlist.c	19 Feb 2005 23:26:58 -0000	1.45
  +++ gnetlist.c	20 Feb 2005 17:09:52 -0000	1.46
  @@ -59,6 +59,7 @@
       int argv_index;
       char *cwd;
       GSList *list_pnt;
  +    gchar *logfile;
   
       TOPLEVEL *pr_current;
   
  @@ -95,7 +96,12 @@
   
       /* create log file right away */
       /* even if logging is enabled */
  -    s_log_init(cwd, "gnetlist.log");
  +    logfile = g_build_path (G_DIR_SEPARATOR_S,
  +                            cwd,
  +                            "gnetlist.log",
  +                            NULL);
  +    s_log_init (logfile);
  +    g_free (logfile);
   
       s_log_message("gEDA/gnetlist version %s\n", VERSION);
       s_log_message