* include/cygwin/version.h: Bump API minor number for below export.

* 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.
This commit is contained in:
Christopher Faylor
2002-11-07 02:19:52 +00:00
parent 18cd62b7fb
commit 4248a1d7f8
5 changed files with 44 additions and 15 deletions

View File

@@ -160,12 +160,13 @@ details. */
61: Export getc_unlocked, getchar_unlocked, putc_unlocked,
putchar_unlocked
62: Erroneously bumped.
63: Export pututline.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 62
#define CYGWIN_VERSION_API_MINOR 63
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible