>Number: 1332
>Category: general
>Synopsis: compiler warning
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Oct 29 02:20:00 PST 1997
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.2.4
>Environment:
IRIX 6.3/4, SGI cc on Origin 200 - also O2
>Description:
not machine specific but my compiler is very thorough! when compiling
cc -c -Iregex -O -n32 -DIRIX -DSTATUS http_protocol.c
"http_protocol.c", line 300: warning(1184): possible use of "=" where "==" was
intended
((r->proto_num >= 1001) && (r->chunked = 1))) &&
^
IT IS USUALLY RIGHT - but I don't have time to check what r-chunked is.. sorry.
This may throw up a real bug!
>How-To-Repeat:
compile code with verbose output or maybe lint it?
>Fix:
its = or == ??%3
>Audit-Trail:
>Unformatted: