summaryrefslogtreecommitdiff
path: root/ext/standard/syslog.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-07-29 02:59:44 +0000
committerWez Furlong <wez@php.net>2004-07-29 02:59:44 +0000
commitcde7423cde3c8c2c3e28ceb108485a6c67f2bf0a (patch)
tree4dd09505a39b3da287575bedc2ad4b9e9ccfc55e /ext/standard/syslog.c
parentc7f22e5aca1e7e4a8c08a16cbae213e122c2f166 (diff)
downloadphp-git-cde7423cde3c8c2c3e28ceb108485a6c67f2bf0a.tar.gz
Misc. win32 thread safety fixes.
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r--ext/standard/syslog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c
index eeb6849c86..9710ea4d60 100644
--- a/ext/standard/syslog.c
+++ b/ext/standard/syslog.c
@@ -119,6 +119,9 @@ PHP_RSHUTDOWN_FUNCTION(syslog)
if (BG(syslog_device)) {
efree(BG(syslog_device));
}
+#ifdef PHP_WIN32
+ closelog();
+#endif
return SUCCESS;
}