apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr-util/test testdbm.c
Date Tue, 22 Apr 2003 13:49:49 GMT
trawick     2003/04/22 06:49:48

  Modified:    test     testdbm.c
  Log:
  we never call oops() for failures that promise to set errno,
  so zap the dead, non-portable references to sys_nerr and
  sys_errlist
  
  Revision  Changes    Path
  1.19      +0 -5      apr-util/test/testdbm.c
  
  Index: testdbm.c
  ===================================================================
  RCS file: /home/cvs/apr-util/test/testdbm.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- testdbm.c	1 Jan 2003 00:02:22 -0000	1.18
  +++ testdbm.c	22 Apr 2003 13:49:48 -0000	1.19
  @@ -408,11 +408,6 @@
           fprintf(stderr, "%s: ", progname);
       }
       fprintf(stderr, s1, s2);
  -#if !defined(sun)
  -    if (errno > 0 && errno < sys_nerr)
  -        fprintf(stderr, " (%s)", sys_errlist[errno]);
  -#endif
  -
       fprintf(stderr, "\n");
   
       if (rv != APR_SUCCESS) {
  
  
  

Mime
View raw message