apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject cvs commit: apr/dso/unix dso.c
Date Tue, 20 Nov 2001 16:31:25 GMT
fitz        01/11/20 08:31:25

  Modified:    dso/unix dso.c
  Log:
  (apr_dso_load) initialize os_handle to NULL to stop apr_dso_load from returning false positives.
  
  Revision  Changes    Path
  1.46      +1 -1      apr/dso/unix/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apr/dso/unix/dso.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- dso.c	2001/11/20 08:18:38	1.45
  +++ dso.c	2001/11/20 16:31:25	1.46
  @@ -117,7 +117,7 @@
   
   #elif defined(DSO_USE_DYLD)
       NSObjectFileImage image;
  -    NSModule os_handle;
  +    NSModule os_handle = NULL;
       char* err_msg = NULL;
       if (NSCreateObjectFileImageFromFile(path, &image) != NSObjectFileImageSuccess)
{
   	err_msg = "cannot create object file image";
  
  
  

Mime
View raw message