www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Koktan <kok...@nkp.cz>
Subject mod_jserv/5577: compile error: const static init string too long (jserv_ajpv12.c:197)
Date Thu, 13 Jan 2000 15:28:35 GMT

>Number:         5577
>Category:       mod_jserv
>Synopsis:       compile error: const static init string too long (jserv_ajpv12.c:197)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jan 13 07:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     koktan@nkp.cz
>Release:        1.3.9
>Organization:
apache
>Environment:
Digital (Tru64) unix, 4.0d,
Digital's compiler DEC C V5.6-075 on Digital UNIX V4.0 (Rev. 878)
GNU make (why is GNU make required to build jserv?, is digital make not enough?)
jserv v1.1b3
>Description:
cc: Error: jserv_ajpv12.c, line 197: In the initializer for null_b[0], ""xffxff"" is too long
by 5 character(s).
    static const char null_b[2] = "\xff\xff";

>How-To-Repeat:
type make
>Fix:
change to this line to:
static char null_b[2];
null_b[0] = 0xff;
null_b[1] = 0xff;
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message