diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygwin.din | 1 | ||||
-rw-r--r-- | winsup/cygwin/syslog.cc | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ddba7e50b..328a575dd 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 21 22:40:25 2001 Jason Tishler <jt@dothill.com> + + * cygwin.din: Add export for setlogmask(). + * syslog.cc (setlogmask): New function. + Thu Jan 18 10:27:00 2001 Corinna Vinschen <corinna@vinschen.de> * resource.cc (setrlimit): Support RLIMIT_NOFILE. diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index c01a4b727..aa9ee8a13 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -972,6 +972,7 @@ closelog _closelog = closelog openlog _openlog = openlog +setlogmask vhangup _vhangup = vhangup nice diff --git a/winsup/cygwin/syslog.cc b/winsup/cygwin/syslog.cc index d0dda8b75..4e6c5b5a2 100644 --- a/winsup/cygwin/syslog.cc +++ b/winsup/cygwin/syslog.cc @@ -85,8 +85,6 @@ openlog (const char *ident, int logopt, int facility) /* setlogmask: set the log priority mask and return previous mask. If maskpri is zero, just return previous. */ -#if 0 -/* FIXME: nobody calls setlogmask? */ int setlogmask (int maskpri) { @@ -98,7 +96,6 @@ setlogmask (int maskpri) return old_mask; } -#endif /* Private class used to handle formatting of syslog message */ /* It is named pass_handler because it does a two-pass handling of log |