Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-07 06:47:47 +0300
committerChristopher Faylor <me@cgf.cx>2002-11-07 06:47:47 +0300
commitc233948098089d2f721ec3fc3f14b45003acff3b (patch)
tree976b0b6cc0be4231714b5bfd55510c9c8f6221bc
parent2c0bf7cc0d0576e0675d20525be4b49028e8857c (diff)
* include/cygwin/version.h: Bump API minor number for below export.unlabeled-1.45.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/external.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 406786d7c..571ea6742 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -241,13 +241,6 @@ cygwin_internal (cygwin_getinfo_types t, ...)
extract_nt_dom_user (pw, domain, user);
return 0;
}
- case CW_CMDLINE:
- {
- size_t n;
- pid_t pid = va_arg (arg, pid_t);
- pinfo p (pid);
- return (DWORD) p->cmdline (n);
- }
default:
return (DWORD) -1;
}