summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syslog.cc
Commit message (Collapse)AuthorAgeFilesLines
* * cygwin.din: Add export for setlogmask().Christopher Faylor2001-01-221-3/+0
| | | | * syslog.cc (setlogmask): New function.
* * syslog.cc (syslog): Add users SID to NT syslog entry.Corinna Vinschen2000-11-171-1/+2
|
* * select.cc (cygwin_select): Correct logic for "always_ready" fds or when thereChristopher Faylor2000-08-241-8/+8
| | | | | is no wait specified. * syslog.cc (pass_handler::set_message): Zero the buffer prior to setting it.
* * winsup.h: Eliminate inclusion of most of the cygwin .h files. Use .h filesChristopher Faylor2000-08-221-0/+2
| | | | | only in sources which require them. * Makefile.in: Generate dependencies with -MD option.
* * cygerrno.h: New file. Use this throughout whenever errno manipulation isChristopher Faylor2000-08-221-0/+1
| | | | | | | | | | | | | | | required. * errno.cc: Use DWORD to hold Windows errors. (geterrno_from_win_error): New function. (seterrno_from_win_error): Use geterrno_from_win_error to convert supplied windows error (suggested by Corinna Vinschen). * path.cc (symlink_info): Add error element. * path.cc (path_conv::check): Remove errno setting. Use new symlink_info errno element to set path_conv error, where appropriate. (symlink_info::check): Set error element rather than attempting to manipulate errno. Add more checks for trailing / and /.. even though they are currently useless. Avoid setting EINVAL. * path.cc (normalize_posix_path): Correct check for trailing /.
* * winsup.h: Split out dtable definitions into separate header file.Christopher Faylor2000-08-121-0/+1
| | | | | | * dtable.h: New file. * sigproc.h: Eliminate pinfo.h usage here. Use it in source files that need it.
* Rename hinfo -> dtable. Name the former dtable array 'fdtab'.Christopher Faylor2000-08-121-1/+1
|
* Fix premature use of fdtab.Christopher Faylor2000-08-111-1/+1
|
* * syslog.cc (syslog): Use a less malloc-intensive method for allocating theChristopher Faylor2000-08-111-31/+23
| | | | buffer. Also fix a buffer overrun.
* * winsup.h: take out protections of environ, errno, allow C useDJ Delorie2000-08-021-1/+1
| | | | | | | | | | * *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__); use cur_environ() instead of just environ * times.cc: remove import protections * glob.c: add winsup.h * localtime.c: ditto * smallprint.c: ditto * Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+395