* sigproc.cc (_pinfo::set_ctty): Move function

* pinfo.cc (_pinfo::set_ctty): to here.
* fhandler_mem.cc (fhandler_dev_mem::fstat): Don't fill out structure if this
is an on-disk device rather than an "auto" device.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Ditto.
* path.cc (normalize_posix_path): Don't treat a standalone '//' as introducing
a UNC path.
(normalize_win32_path): Ditto.
This commit is contained in:
Christopher Faylor
2005-02-27 04:30:08 +00:00
parent 78d9eaa5ea
commit d61925786a
6 changed files with 45 additions and 25 deletions

View File

@ -195,14 +195,6 @@ pid_exists (pid_t pid)
return pinfo (pid)->exists ();
}
/* Test to determine if a process really exists and is processing signals.
*/
bool __stdcall
_pinfo::exists ()
{
return this && !(process_state & PID_EXITED);
}
/* Return true if this is one of our children, false otherwise. */
static inline bool __stdcall
mychild (int pid)