postgresql/src/port
Tom Lane 6b534f3c33 Replace opendir/closedir calls throughout the backend with AllocateDir
and FreeDir routines modeled on the existing AllocateFile/FreeFile.
Like the latter, these routines will avoid failing on EMFILE/ENFILE
conditions whenever possible, and will prevent leakage of directory
descriptors if an elog() occurs while one is open.
Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
critical code and there is no reason to force a DB restart on failure.
All per recent trouble report from Olivier Hubaut.
2004-02-23 23:03:43 +00:00
..
copydir.c Replace opendir/closedir calls throughout the backend with AllocateDir 2004-02-23 23:03:43 +00:00
crypt.c pgindent run. 2003-08-04 00:43:34 +00:00
dirmod.c Change Win32 rename/unlink timeout to 3 seconds. 2003-10-10 03:27:58 +00:00
fseeko.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
getaddrinfo.c pgindent run. 2003-08-04 00:43:34 +00:00
gethostname.c Remove sys/types.h in files that include postgres.h, and hence c.h, 2002-09-02 02:47:07 +00:00
getopt.c pgindent run. 2003-08-04 00:43:34 +00:00
getopt_long.c pgindent run. 2003-08-04 00:43:34 +00:00
getrusage.c Allow Win32 to compile under MinGW. Major changes are: 2003-05-15 16:35:30 +00:00
gettimeofday.c pgindent run. 2003-08-04 00:43:34 +00:00
inet_aton.c Attached is the complete diff against current CVS. 2003-06-12 08:15:29 +00:00
isinf.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
Makefile Use AROPT, not hard-coded flags. 2003-10-24 20:31:43 +00:00
memcmp.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
path.c pgindent run. 2003-08-04 00:43:34 +00:00
qsort.c pgindent run. 2002-09-04 20:31:48 +00:00
random.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
rint.c Add rint() to /port, remove from qnx/. 2003-05-09 16:26:29 +00:00
snprintf.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
sprompt.c Allow win32 client compiles with MSC. 2003-10-26 04:29:15 +00:00
srandom.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
strcasecmp.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
strdup.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
strerror.c A visit from the message-style police ... 2003-07-28 00:09:16 +00:00
strtol.c Update copyrights to 2003. 2003-08-04 02:40:20 +00:00
strtoul.c Move libc replacement files from src/backend/port to src/port. 2002-07-18 04:13:59 +00:00
thread.c Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl. 2003-11-24 13:11:27 +00:00