diff options
Diffstat (limited to 'lib/Debugger/FDHandle.cpp')
-rw-r--r-- | lib/Debugger/FDHandle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Debugger/FDHandle.cpp b/lib/Debugger/FDHandle.cpp index c24bcb87c0..4f952f2ef9 100644 --- a/lib/Debugger/FDHandle.cpp +++ b/lib/Debugger/FDHandle.cpp @@ -1,10 +1,10 @@ //===- lib/Debugger/FDHandle.cpp - File Descriptor Handle -----------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file implements a class for ensuring that Unix file handles get closed. @@ -21,12 +21,12 @@ using namespace llvm; // FDHandle::~FDHandle() throw() { - if (FD != -1) + if (FD != -1) ::close(FD); } FDHandle &FDHandle::operator=(int fd) throw() { - if (FD != -1) + if (FD != -1) ::close(FD); FD = fd; return *this; |