diff options
Diffstat (limited to 'com32/lib/sys/close.c')
-rw-r--r-- | com32/lib/sys/close.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/lib/sys/close.c b/com32/lib/sys/close.c index 765641f5..e34c29a3 100644 --- a/com32/lib/sys/close.c +++ b/com32/lib/sys/close.c @@ -1,6 +1,6 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * Permission is hereby granted, free of charge, to any person @@ -11,10 +11,10 @@ * sell copies of the Software, and to permit persons to whom * the Software is furnished to do so, subject to the following * conditions: - * + * * The above copyright notice and this permission notice shall * be included in all copies or substantial portions of the Software. - * + * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND @@ -50,13 +50,13 @@ int close(int fd) if ( rv ) return rv; } - + if ( fp->oop->close ) { rv = fp->oop->close(fp); if ( rv ) return rv; } - + memset(fp, 0, sizeof *fp); /* File structure unused */ return 0; } |