commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-commons/daemon/src/native/unix/native home.c
Date Mon, 19 Jan 2004 02:21:19 GMT
billbarker    2004/01/18 18:21:19

  Modified:    daemon/src/native/unix/native home.c
  Log:
  Fix potential core dump when running in debug mode.
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-commons/daemon/src/native/unix/native/home.c
  
  Index: home.c
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/daemon/src/native/unix/native/home.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- home.c	19 Jan 2004 01:26:43 -0000	1.4
  +++ home.c	19 Jan 2004 02:21:19 -0000	1.5
  @@ -272,8 +272,8 @@
           log_debug("| Found JVMs:      %d",data->jnum);
           for (x=0; x<data->jnum; x++) {
               home_jvm *jvm=data->jvms[x];
  -            log_debug("| JVM Name:        \"%s\"",jvm->name);
  -            log_debug("|                  \"%s\"",jvm->libr);
  +            log_debug("| JVM Name:        \"%s\"",PRINT_NULL(jvm->name));
  +            log_debug("|                  \"%s\"",PRINT_NULL(jvm->libr));
           }
           log_debug("+-------------------------------------------------------");
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message