https://issues.apache.org/bugzilla/show_bug.cgi?id=39722



--- Comment #5 from Boya Sun <[email protected]> 2009-08-27 11:24:42 PDT ---
Hi All,

According to this bugfix, the return value of ap_server_root_relative should be
checked to make sure that the directory exists.  So I think that a good
programming practice should be to always check its return value. And in fact,
the return value check IS preformed at 90% or the time when the function is
invoked in the entire project. 

However, there is a place in server/scoreboard.c, function open_scoreboard(),
where the return value check is missing.  Maybe this is because that a constant
value "ap_scoreboard_fname = DEFAULT_SCOREBOARD" is passed as the second
parameter of the function.  But I think it is safe to perform a check anyway.

The patch attached is against revision 806655.

Boya

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to