From cvs-return-5478-apmail-apr-cvs-archive=apr.apache.org@apr.apache.org Thu Feb 05 10:24:19 2004 Return-Path: Delivered-To: apmail-apr-cvs-archive@www.apache.org Received: (qmail 48342 invoked from network); 5 Feb 2004 10:24:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Feb 2004 10:24:19 -0000 Received: (qmail 32749 invoked by uid 500); 5 Feb 2004 10:23:53 -0000 Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 32688 invoked by uid 500); 5 Feb 2004 10:23:52 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 32650 invoked from network); 5 Feb 2004 10:23:52 -0000 Date: 5 Feb 2004 10:24:17 -0000 Message-ID: <20040205102417.48324.qmail@minotaur.apache.org> From: martin@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/misc/unix errorcodes.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N martin 2004/02/05 02:24:17 Modified: misc/unix errorcodes.c Log: The APR_EGENERAL error is used inside Apache for returning internal error situations. However, when it was actually translated into a string, it read "Error string not specified yet". Add a string "Internal error" (and use "Error string not specified yet" for other (unspecified) APR errors). Revision Changes Path 1.57 +2 -0 apr/misc/unix/errorcodes.c Index: errorcodes.c =================================================================== RCS file: /home/cvs/apr/misc/unix/errorcodes.c,v retrieving revision 1.56 retrieving revision 1.57 diff -u -u -r1.56 -r1.57 --- errorcodes.c 12 Nov 2003 14:57:26 -0000 1.56 +++ errorcodes.c 5 Feb 2004 10:24:17 -0000 1.57 @@ -168,6 +168,8 @@ return "The given path contained wildcard characters"; case APR_EPROC_UNKNOWN: return "The process is not recognized."; + case APR_EGENERAL: + return "Internal error"; default: return "Error string not specified yet"; }