OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38119b1
)
* pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
author
corinna
<corinna>
Wed, 26 Jun 2002 14:59:22 +0000
(14:59 +0000)
committer
corinna
<corinna>
Wed, 26 Jun 2002 14:59:22 +0000
(14:59 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/pwdgrp.h
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
9fe94d0
..
33b377d
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,3
+1,7
@@
+2002-06-26 Corinna Vinschen <corinna@vinschen.de>
+
+ * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
+
2002-06-26 Christopher Faylor <cgf@redhat.com>
* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and
diff --git
a/winsup/cygwin/pwdgrp.h
b/winsup/cygwin/pwdgrp.h
index
d2dcfcd
..
bab2da8
100644
(file)
--- a/
winsup/cygwin/pwdgrp.h
+++ b/
winsup/cygwin/pwdgrp.h
@@
-63,7
+63,8
@@
public:
: fh (INVALID_HANDLE_VALUE), buf (NULL), lptr (NULL), eptr (NULL) {}
virtual ~pwdgrp_read ()
{
- close ();
+ if (fh != INVALID_HANDLE_VALUE)
+ CloseHandle (fh);
if (buf)
free (buf);
}