apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apr/misc/unix errorcodes.c
Date Tue, 21 Nov 2000 07:56:01 GMT
gstein      00/11/20 23:56:01

  Modified:    misc/unix errorcodes.c
  Log:
  Add "const" to keep the working set smaller.
  
  Revision  Changes    Path
  1.28      +2 -2      apr/misc/unix/errorcodes.c
  
  Index: errorcodes.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -u -r1.27 -r1.28
  --- errorcodes.c	2000/11/20 19:57:41	1.27
  +++ errorcodes.c	2000/11/21 07:56:00	1.28
  @@ -206,9 +206,9 @@
   
   #elif defined(WIN32)
   
  -static struct {
  +static const struct {
       apr_status_t code;
  -    char *msg;
  +    const char *msg;
   } gaErrorList[] = {
       WSAEINTR,           "Interrupted system call",
       WSAEBADF,           "Bad file number",
  
  
  

Mime
View raw message