You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Frank Langelage <fr...@lafr.de> on 2001/04/29 22:58:37 UTC

os-unixware/7651: compilation of srclib/apr/network_io/unix/sa_common.c fails

>Number:         7651
>Category:       os-unixware
>Synopsis:       compilation of srclib/apr/network_io/unix/sa_common.c fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Apr 29 14:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     frank@lafr.de
>Release:        2.0.16 beta
>Organization:
apache
>Environment:
Unixware 7.1.1, all patches, udk 7.1.1b
>Description:
The compilation of srclib/apr/network_io/unix/sa_common.c fails on unixware 7.1.1, 
because of an error in line 440: h_errno = 0;
h_errno is no modifyable value.
>How-To-Repeat:

>Fix:
you must use the function set_h_errno( int ) to set the value of h_errno.
If source is compiled threaded (REENTRENT is set) h_errno is defined as function
"extern const int _h_errno()" and not as "extern int" lvalue.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]