| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Allow additional thread flags to be added via port templates.
Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
|
| |
|
|
| |
*result = getpwuid_r(uid, resultbuf, buffer, buflen);
|
| |
|
|
| |
Backpatch to 7.4.X. Required for Solaris 7 & 8.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> possibly should look there too.)
[snip]
>
I think I have the fix for part of it, but this remains...
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations -fPIC -I. -I../../../src/include
-D_POSIX_PTHREAD_SEMANTICS -DFRONTEND
-DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o thread.o thread.c
thread.c: In function `pqGethostbyname':
thread.c:189: error: `resbuf' undeclared (first use in this
function)
Looking at src/port/thread.c, line 189, it looks like somebody typo'd.
Looks like that second parameter should be "resultbuf", not "resbuf"?
Jim Seymour
|
| |
|
|
| |
L J Bayuk
|
| |
|
|
|
|
|
|
|
|
| |
variable.
Remove thread locking for non-thread-safe functions, instead throw a
compile error.
Platforms will have to re-run tools/thread to record their thread
safety.
|
| | |
|
| |
|
|
|
| |
Fixes compilation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
|
| |
|
|
| |
Hiroshi Saito
|
| | |
|
| | |
|
| |
|
|
| |
and improve tests.
|
| |
|
|
| |
thread comments.
|
| |
|
|
|
|
|
|
|
| |
* use non-*_r function names if they are all thread-safe
* (NEED_REENTRANT_FUNCS=no)
* use *_r functions if they exist (configure test)
* do our own locking and copying of non-threadsafe functions
New to this patch is the last option.
|
| |
|
|
|
| |
Needed for libpq builds, not just for native Win32 port, and probably
for cygwin too.
|
| | |
|
| |
|
|
| |
configure to report if they are not found.
|
| |
|
|
| |
Update to POSIX getpwuid_r() function.
|
| | |
|
| |
|