Opened 13 years ago

Closed 13 years ago

#2967 closed Patches (fixed)

Patch to make boost::interprocess::get_temporary_path() more robust.

Reported by: Lawrence Gold <lgold@…> Owned by: Ion Gaztañaga
Milestone: Boost 1.39.0 Component: interprocess
Version: Boost 1.38.0 Severity: Problem
Keywords: Cc:

Description

The attached patch causes boost::interprocess::get_temporary_path() to make sure the paths in the given environment variables are valid before assuming success.

I'm using OS X, and had deleted the last directory listed in $TMPDIR, which caused boost::interprocess::message_queue to fail. Granted, that's not likely to happen very often, but it'd be nice to be able to handle sabotage from an idiot like me.

Attachments (1)

interprocess_get_temporary_path.patch (698 bytes ) - added by Lawrence Gold <lgold@…> 13 years ago.

Download all attachments as: .zip

Change History (2)

by Lawrence Gold <lgold@…>, 13 years ago

comment:1 by Ion Gaztañaga, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.