Opened 9 years ago

Closed 9 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:


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@…> 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Lawrence Gold <lgold@…>

comment:1 Changed 9 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.