NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/44959: Missing closedir in glob.c



The following reply was made to PR lib/44959; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/44959: Missing closedir in glob.c
Date: Fri, 13 May 2011 10:09:44 +0200

 Doesn't it need 
 
         if (pglob->gl_flags & GLOB_ALTDIRFUNC)
                 (*pglob->gl_closedir)(dirp);   
         else
                 closedir(dirp);   
 
 
 or something?
 
 Martin
 


Home | Main Index | Thread Index | Old Index