diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-07 03:47:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-07 03:47:57 +0000 |
commit | 7f63ec912967d23ad6c69bfe2a3cf3b2e3c86078 (patch) | |
tree | 49fa71bdb4435193af24af72b8247ff4c1ea3c89 | |
parent | 35d51d3bf29ea5d37261653875a20db3227d12ec (diff) | |
download | newlib-unlabeled-1.44.2.zip newlib-unlabeled-1.44.2.tar.gz newlib-unlabeled-1.44.2.tar.bz2 |
* include/cygwin/version.h: Bump API minor number for below export.github/unlabeled-1.44.2unlabeled-1.44.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/pinfo.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index fe36b5a..dcb814b 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -16,7 +16,7 @@ enum { __SIGFLUSH = -2, __SIGSTRACE = -1, - __SIGCOMMUNE = 0, + __SIGUNUSED = 0, __SIGOFFSET = 2 }; @@ -25,17 +25,6 @@ enum #include <sys/resource.h> #include "thread.h" -struct commune_result -{ - char *s; - int n; -}; - -enum picom -{ - PICOM_CMDLINE = 1 -}; - class _pinfo { public: @@ -92,11 +81,6 @@ public: /* Non-zero if process was stopped by a signal. */ char stopsig; - - /* commune */ - pid_t hello_pid; - HANDLE tothem; - HANDLE fromthem; void exit (UINT n, bool norecord = 0) __attribute__ ((noreturn, regparm(2))); @@ -135,19 +119,12 @@ public: } inline void setthread2signal (void *thr) {thread2signal = (pthread *) thr;} - void commune_recv (); - commune_result commune_send (DWORD); - bool alive (); - char *cmdline (size_t &); - - friend void __stdcall set_myself (pid_t, HANDLE); private: struct sigaction sigs[NSIG]; sigset_t sig_mask; /* one set for everything to ignore. */ LONG _sigtodo[NSIG + __SIGOFFSET]; - pthread *thread2signal; // NULL means thread any other means a pthread - CRITICAL_SECTION lock; + pthread *thread2signal; // NULL means means thread any other means a pthread }; class pinfo |