Subject: Re: CVS commit: src/lib/libc/gen
To: None <christos@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 06/24/2003 10:26:31
hi,
> Module Name: src
> Committed By: christos
> Date: Mon Jun 23 14:35:39 UTC 2003
>
> Modified Files:
> src/lib/libc/gen: closedir.c
>
> Log Message:
> PR/21963: MAEKAWA Masahide: Don't free(dirp) before its last use.
>
>
> To generate a diff of this commit:
> cvs rdiff -r1.11 -r1.12 src/lib/libc/gen/closedir.c
btw, does acquiring a mutex here make any sense?
when doing closedir, a caller should be sure that no one else is
accessing the DIR* anyway.
YAMAMOTO Takashi