diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-08-02 16:57:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-08-02 16:57:42 +0000 |
commit | 5d550e87dde9b5a3321c98513099d7da601319ef (patch) | |
tree | 2533cbd8626062bb158d72ceda221d35c76605a1 /stdlib | |
parent | ebe3a574be44dc0d7724945e8cea53b92297593b (diff) | |
download | glibc-5d550e87dde9b5a3321c98513099d7da601319ef.tar.gz glibc-5d550e87dde9b5a3321c98513099d7da601319ef.tar.xz glibc-5d550e87dde9b5a3321c98513099d7da601319ef.zip |
Updated to fedora-glibc-20060802T1650 cvs/fedora-glibc-2_4_90-16
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/test-canon.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/stdlib/test-canon.c b/stdlib/test-canon.c index 54267465b8..9261898795 100644 --- a/stdlib/test-canon.c +++ b/stdlib/test-canon.c @@ -1,5 +1,6 @@ /* Test program for returning the canonical absolute name of a given file. - Copyright (C) 1996,1997,2000,2002,2004,2005 Free Software Foundation, Inc. + Copyright (C) 1996,1997,2000,2002,2004,2005,2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger <davidm@azstarnet.com>. @@ -213,7 +214,10 @@ do_test (int argc, char ** argv) } if (fd >= 0) - unlink ("doesExist/someFile"); + { + close (fd); + unlink ("doesExist/someFile"); + } if (has_dir) rmdir ("doesExist"); |