diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-07 03:47:48 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-07 03:47:48 +0000 |
commit | add161035703b6b24d548a3e726764526dd56a88 (patch) | |
tree | ca6489346a7fcb3f94267ce9caeba95f36695079 | |
parent | d3e552644755840081a03483599c4968b9840a1a (diff) | |
download | newlib-unlabeled-1.144.2.zip newlib-unlabeled-1.144.2.tar.gz newlib-unlabeled-1.144.2.tar.bz2 |
* include/cygwin/version.h: Bump API minor number for below export.github/unlabeled-1.144.2unlabeled-1.144.2
* cygwin.din (pututline): New exported function.
* syscalls.cc (login): Use pututiline().
(setutent): Open utmp as read/write.
(endutent): Check if utmp file is open.
(utmpname): call endutent() to close current utmp file.
(getutid): Enable all cases, use strncmp() to compare ut_id fields.
(pututline): New.
* tty.cc (create_tty_master): Set ut_pid to current pid.
* fhandler.h (fhandler_serial::vmin_): Declare as size_t.
* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.
* fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL
WSARecvFrom with fromlen = NULL.
-rw-r--r-- | winsup/cygwin/fhandler.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 796c3e6..3a00c20 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -626,7 +626,7 @@ class fhandler_cygdrive: public fhandler_disk_file class fhandler_serial: public fhandler_base { private: - unsigned int vmin_; /* from termios */ + size_t vmin_; /* from termios */ unsigned int vtime_; /* from termios */ pid_t pgrp_; int rts; /* for Windows 9x purposes only */ @@ -1107,7 +1107,6 @@ class fhandler_virtual : public fhandler_base int close (void); int __stdcall fstat (struct stat *buf, path_conv *pc) __attribute__ ((regparm (3))); virtual bool fill_filebuf (); - void fixup_after_exec (HANDLE); }; class fhandler_proc: public fhandler_virtual |