[Libreoffice] [PATCH] [PUSHED] Simplify a function returning the temporary directory name

Francois Tigeot ftigeot at wolfpond.org
Fri Jul 15 22:23:14 PDT 2011


On Fri, Jul 15, 2011 at 02:19:26PM +0100, Caolán McNamara wrote:
> On Wed, 2011-07-13 at 18:48 +0200, Francois Tigeot wrote:
> > 
> > Caolán, is there a special reason you added the access() checks ?
> 
> Yes, so that you don't end up using a tmp dir you're not able to write
> to and probably fall over and die.
> 
> But sure, 
[...]
> yeah, drop the access and let the callers handle later failure if it
> happens, happen anyway on a full partition.

OK. Last version of the patch pushed.

-- 
Francois Tigeot


More information about the LibreOffice mailing list