Ticket #2967 (closed Patches: fixed)

Opened 8 years ago

Last modified 8 years ago

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

Reported by: Lawrence Gold <lgold@…> Owned by: igaztanaga
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.


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

Change History

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

comment:1 Changed 8 years ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

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

Note: See TracTickets for help on using tickets.