>Number: 2634
>Category: os-sco
>Synopsis: Won't compile http_main.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Jul 16 03:00:00 PDT 1998
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.0
>Environment:
SCO Release = 3.2v4.2
KernelID = 93/04/28
>Description:
...
http_main.c(2339) : error C2166: lvalue specifies const object
http_main.c(2342) : error C2166: lvalue specifies const object
http_main.c(2352) : error C2166: lvalue specifies const object
Lines at fault do things like:
ap_sys_siglist[sig] = "";
- doesn't like assigning to siglist.
>How-To-Repeat:
Compile n a buggy SCO compiler
>Fix:
Change line 2241 from
const char *ap_sys_siglist[NumSIG];
to
char *ap_sys_siglist[NumSIG];
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]