[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51039: makemandb(8): Check for return value of chdir(2)
The following reply was made to PR bin/51039; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Subject: Re: bin/51039: makemandb(8): Check for return value of chdir(2)
Date: Sun, 3 Apr 2016 14:56:09 +0200
On Sun, Apr 03, 2016 at 12:10:00AM +0000, er.abhinav.upadhyay%gmail.com@localhost wrote:
> makemandb makes a call to chdir(2) before parsing each page but the
> return value of chdir is not checked. We should check the return status
> and handle the error.
Actually, it would be better to just keep the parent directory open and
Main Index |
Thread Index |