* cygwin.din: Add export for setlogmask().
* syslog.cc (setlogmask): New function.
This commit is contained in:
parent
6e0801da6a
commit
29c39fe3dd
@ -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>
|
Thu Jan 18 10:27:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* resource.cc (setrlimit): Support RLIMIT_NOFILE.
|
* resource.cc (setrlimit): Support RLIMIT_NOFILE.
|
||||||
|
@ -972,6 +972,7 @@ closelog
|
|||||||
_closelog = closelog
|
_closelog = closelog
|
||||||
openlog
|
openlog
|
||||||
_openlog = openlog
|
_openlog = openlog
|
||||||
|
setlogmask
|
||||||
vhangup
|
vhangup
|
||||||
_vhangup = vhangup
|
_vhangup = vhangup
|
||||||
nice
|
nice
|
||||||
|
@ -85,8 +85,6 @@ openlog (const char *ident, int logopt, int facility)
|
|||||||
|
|
||||||
/* setlogmask: set the log priority mask and return previous mask.
|
/* setlogmask: set the log priority mask and return previous mask.
|
||||||
If maskpri is zero, just return previous. */
|
If maskpri is zero, just return previous. */
|
||||||
#if 0
|
|
||||||
/* FIXME: nobody calls setlogmask? */
|
|
||||||
int
|
int
|
||||||
setlogmask (int maskpri)
|
setlogmask (int maskpri)
|
||||||
{
|
{
|
||||||
@ -98,7 +96,6 @@ setlogmask (int maskpri)
|
|||||||
|
|
||||||
return old_mask;
|
return old_mask;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Private class used to handle formatting of syslog message */
|
/* Private class used to handle formatting of syslog message */
|
||||||
/* It is named pass_handler because it does a two-pass handling of log
|
/* It is named pass_handler because it does a two-pass handling of log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user