http://defect.opensolaris.org/bz/show_bug.cgi?id=12222



--- Comment #5 from Michael Hunter <michael.hunter at sun.com> 2009-10-27 
16:35:08 UTC ---
(In reply to comment #4)
> It looks like if you comment out 1837, the while loop doesn't actually do
> anything, and could all be replaced with just "(void) fclose(fp);"
> 
> It all just begs the question of what that code is really supposed to do.

The fp is mnttab.  It scans over mnttab looking for the /var/run entry and
checks to see that it is mounted as tmpfs.  It is always going to exit the
loop.  No need to free the fp twice.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to