Issue 327 - wrong `configure' results
Summary: wrong `configure' results
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-16 09:34 UTC by wowa@jetinf.com
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description wowa@jetinf.com 1999-10-16 09:34:24 UTC
Full_Name: Vladimir V. Tsichevski
Version: CVS snapshot 15.10.99
OS: Linux 2.2.3 libc.5
URL: 
Submission from: (NULL) (194.87.88.243)


CTIME_R_NARGS incorrect setup by configure (3 args detected instead of 2
in my headers). Here is an excerpt from /usr/include/time.h


#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)

extern char	* asctime_r	__P((__const struct tm *, char *));
extern char	* ctime_r	__P((__const time_t *, char *));
extern struct tm* gmtime_r	__P((__const time_t *, struct tm *));
extern struct tm* localtime_r	__P((__const time_t *, struct tm *));

#endif

Comment 1 Kurt Zeilenga 1999-10-18 15:00:19 UTC
changed notes
Comment 2 Kurt Zeilenga 1999-10-18 15:16:07 UTC
moved from Incoming to Build
Comment 3 Kurt Zeilenga 1999-10-30 19:30:16 UTC
Devel issue should be resolved by latest commit by testing
for availability of a prototype and, if not recongizable,
ignoring ctime_r().  This is the best course of action as
it would be incorrect to define _POSIX_THREAD_SAFE_FUNCTIONS
(this should never be set by applications) and inappropriate
to define _REENTRANT (this should only be set when the
application is linked with threaded libraries).

At 09:34 AM 10/16/99 GMT, wowa@jetinf.com wrote:
>Full_Name: Vladimir V. Tsichevski
>Version: CVS snapshot 15.10.99
>OS: Linux 2.2.3 libc.5
>URL: 
>Submission from: (NULL) (194.87.88.243)
>
>
>CTIME_R_NARGS incorrect setup by configure (3 args detected instead of 2
>in my headers). Here is an excerpt from /usr/include/time.h
>
>
>#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT)
>
>extern char	* asctime_r	__P((__const struct tm *, char *));
>extern char	* ctime_r	__P((__const time_t *, char *));
>extern struct tm* gmtime_r	__P((__const time_t *, struct tm *));
>extern struct tm* localtime_r	__P((__const time_t *, struct tm *));
>
>#endif
>
>
>
>

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>
Comment 4 Kurt Zeilenga 2000-04-19 06:14:04 UTC
changed notes
changed state Open to Closed
Comment 5 OpenLDAP project 2014-08-01 21:05:08 UTC
devel issue believed resolved...