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:
authorCorinna Vinschen <corinna@vinschen.de>2000-11-01 01:20:59 +0300
committerCorinna Vinschen <corinna@vinschen.de>2000-11-01 01:20:59 +0300
commit7cccedf8dead27e59bbe11c37622b260f6699e1f (patch)
treed754ddb4c85c47da6a99a18139138ddaa296029a /winsup/cygwin/fhandler.h
parent8e32a18e796dc9f8a0f92b720cf12aa1bf9dc5b5 (diff)
* fhandler.h (fhandler_dev_raw): Add definition for method
`fixup_after_fork'. * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Add `set_need_fixup_after_fork' call. (fhandler_dev_raw::~fhandler_dev_raw): Revert to user space allocation. (fhandler_dev_raw::open): Ditto. (fhandler_dev_raw::dup): Ditto. Reset buffer pointer. (fhandler_dev_raw::fixup_after_fork): New function. * fhandler_tape.cc (fhandler_dev_tape::open): Revert to user space memory allocation. (fhandler_dev_tape::ioctl): Ditto. Change behaviour on MTSETBLK when new size is 1.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index c85c5d563..746ffc47b 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -403,6 +403,8 @@ public:
int dup (fhandler_base *child);
int ioctl (unsigned int cmd, void *buf);
+
+ void fixup_after_fork (HANDLE);
};
class fhandler_dev_floppy: public fhandler_dev_raw