httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/locks/unix crossproc.c
Date Thu, 16 Mar 2000 20:49:52 GMT
rbb         00/03/16 12:49:52

  Modified:    src/lib/apr/locks/unix crossproc.c
  Log:
  Fix a bug in ap_init_child_lock
  Submitted by:	Paul Reder
  
  Revision  Changes    Path
  1.14      +1 -0      apache-2.0/src/lib/apr/locks/unix/crossproc.c
  
  Index: crossproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/locks/unix/crossproc.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- crossproc.c	2000/03/10 00:06:17	1.13
  +++ crossproc.c	2000/03/16 20:49:51	1.14
  @@ -376,6 +376,7 @@
   
       new = (struct lock_t *)ap_palloc(cont, sizeof(struct lock_t));
   
  +    ap_cpystrn(new->fname, fname, strlen(fname));
       new->interproc = open(new->fname, O_CREAT | O_WRONLY | O_EXCL, 0600);
       if (new->interproc == -1) {
           destroy_inter_lock(new);
  
  
  

Mime
View raw message