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 22:53:19 GMT
rbb         00/03/16 14:53:19

  Modified:    src/lib/apr/locks/unix crossproc.c
  Log:
  Fix the problems with my last commit.
  Submitted by:	Manoj Kasichainula, Greg Stein
  
  Revision  Changes    Path
  1.15      +2 -1      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.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- crossproc.c	2000/03/16 20:49:51	1.14
  +++ crossproc.c	2000/03/16 22:53:18	1.15
  @@ -376,7 +376,8 @@
   
       new = (struct lock_t *)ap_palloc(cont, sizeof(struct lock_t));
   
  -    ap_cpystrn(new->fname, fname, strlen(fname));
  +    new->fname = ap_palloc(cont, strlen(fname));
  +    strcpy(new->fname, 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