httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/dso/beos dso.c
Date Sat, 03 Jun 2000 17:01:29 GMT
dreid       00/06/03 10:01:29

  Modified:    src/lib/apr/dso/beos dso.c
  Log:
  Fix the ap_dso_error function.  Not sure if this is what was intended
  or not when it was added, but it follows what other implementations do.
  
  Revision  Changes    Path
  1.7       +3 -2      apache-2.0/src/lib/apr/dso/beos/dso.c
  
  Index: dso.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/dso/beos/dso.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- dso.c	2000/06/01 14:27:05	1.6
  +++ dso.c	2000/06/03 17:01:29	1.7
  @@ -99,9 +99,10 @@
       return APR_SUCCESS;
   }
   
  -char *ap_dso_error(char *buf, int bufsize, ap_status_t errcode)
  +char *ap_dso_error(ap_dso_handle_t *dso, char *buffer, ap_size_t buflen)
   {
  -    return strerror(errno);
  +    strncpy(strerror(errno), buffer, buflen);
  +    return buffer;
   }
   
   #endif
  
  
  

Mime
View raw message