httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apachen/src/test time-sem.c
Date Tue, 04 Nov 1997 07:57:44 GMT
dgaudet     97/11/03 23:57:43

  Modified:    src/test time-sem.c
  Log:
  make it clear that fcntl/flock open lock file in cwd
  
  Revision  Changes    Path
  1.2       +2 -0      apachen/src/test/time-sem.c
  
  Index: time-sem.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/test/time-sem.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- time-sem.c	1997/11/04 02:47:13	1.1
  +++ time-sem.c	1997/11/04 07:57:43	1.2
  @@ -59,6 +59,7 @@
       unlock_it.l_type   = F_UNLCK;  /* set exclusive/write lock */
       unlock_it.l_pid    = 0;        /* pid not actually interesting */
   
  +    printf("opening test-lock-thing in current directory\n");
       fcntl_fd = open("test-lock-thing", O_CREAT | O_WRONLY | O_EXCL, 0644);
       if (fcntl_fd == -1)
       {
  @@ -105,6 +106,7 @@
   accept_mutex_init(void)
   {
   
  +    printf("opening test-lock-thing in current directory\n");
       flock_fd = open("test-lock-thing", O_CREAT | O_WRONLY | O_EXCL, 0644);
       if (flock_fd == -1)
       {
  
  
  

Mime
View raw message