From 68aeaf14ea2bc388b3d3c5d195fd3f5e983576c0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 30 Nov 2001 00:03:10 +0000 Subject: Debugging... --- lib/Handle.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/Handle.cc') diff --git a/lib/Handle.cc b/lib/Handle.cc index 253ddbf..c02bc55 100644 --- a/lib/Handle.cc +++ b/lib/Handle.cc @@ -160,4 +160,11 @@ time_t Handle::GetModif(void) { bool Handle::CanWatch(void) { return true; -} \ No newline at end of file +} + +void Handle::Dup(const Handle & H) { + close(); + if (H.h >= 0) { + h = dup(H.h); + } +} -- cgit v1.2.3