diff options
author | Pixel <Pixel> | 2001-11-30 00:03:10 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-30 00:03:10 +0000 |
commit | 68aeaf14ea2bc388b3d3c5d195fd3f5e983576c0 (patch) | |
tree | e776a0f936b7413b184ce34e205f4aca27f62b62 /lib/Handle.cc | |
parent | 23d91060b557f77fc37e629a168ca810cd66a364 (diff) |
Debugging...
Diffstat (limited to 'lib/Handle.cc')
-rw-r--r-- | lib/Handle.cc | 9 |
1 files changed, 8 insertions, 1 deletions
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); + } +} |