summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-30 23:02:58 +0000
committerChristopher Faylor <me@cgf.cx>2002-06-30 23:02:58 +0000
commitfdf0b5de282128ded84921263ceb35d634a9dbbd (patch)
treef12201f3aa2a0f61d48d44ede554db8872406dff /winsup/cygwin/fhandler.h
parentccacec81dbe42adbb78fd7399c69a900ac8a5859 (diff)
downloadcygnal-fdf0b5de282128ded84921263ceb35d634a9dbbd.tar.gz
cygnal-fdf0b5de282128ded84921263ceb35d634a9dbbd.tar.bz2
cygnal-fdf0b5de282128ded84921263ceb35d634a9dbbd.zip
* fhandler.h (fhandler_process::pid): New field.
(fhandler_process::fstat): Remove unneeded array. Set pid element. (fhandler_process::open): Ditto. (fhandler_process::fill_filebuf): Handle case where 'p' field is NULL.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index d04966a36..ebb07a8df 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -1107,7 +1107,6 @@ class fhandler_proc: public fhandler_virtual
void fill_filebuf ();
};
-class pinfo;
class fhandler_registry: public fhandler_proc
{
public:
@@ -1125,9 +1124,10 @@ class fhandler_registry: public fhandler_proc
void fill_filebuf ();
};
-struct _pinfo;
+class pinfo;
class fhandler_process: public fhandler_proc
{
+ pid_t pid;
pinfo *p;
public:
fhandler_process ();