apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/test testflock.c
Date Tue, 28 Aug 2001 16:44:20 GMT
trawick     01/08/28 09:44:20

  Modified:    test     testflock.c
  Log:
  tweak a message to mention an APR error value instead of an errno value
  
  Revision  Changes    Path
  1.9       +1 -1      apr/test/testflock.c
  
  Index: testflock.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testflock.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- testflock.c	2001/08/04 02:46:02	1.8
  +++ testflock.c	2001/08/28 16:44:20	1.9
  @@ -118,7 +118,7 @@
       status = apr_file_lock(file, APR_FLOCK_EXCLUSIVE | APR_FLOCK_NONBLOCK);
       if (!APR_STATUS_IS_EAGAIN(status)) {
           char msg[200];
  -        errmsg(apr_psprintf(pool, "Expected EAGAIN. Got %d: %s.\n",
  +        errmsg(apr_psprintf(pool, "Expected APR_EAGAIN. Got %d: %s.\n",
                               status, apr_strerror(status, msg, sizeof(msg))));
       }
       printf("First attempt: we were properly locked out.\nWaiting for lock...");
  
  
  

Mime
View raw message