Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2007 13:17:57 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122946 for review
Message-ID:  <200707051317.l65DHvft072463@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=122946

Change 122946 by rdivacky@rdivacky_witten on 2007/07/05 13:17:33

	Dont close the fd in a case of error.

Affected files ...

.. //depot/projects/soc2007/rdivacky/linux_at/lib/libc/gen/fdopendir.c#3 edit

Differences ...

==== //depot/projects/soc2007/rdivacky/linux_at/lib/libc/gen/fdopendir.c#3 (text+ko) ====

@@ -257,7 +257,6 @@
 fail:
 	saved_errno = errno;
 	free(dirp);
-	(void)_close(fd);
 	errno = saved_errno;
 	return (NULL);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707051317.l65DHvft072463>