Modify

Ticket #2967 (closed Patches: fixed)

Opened 5 years ago

Last modified 5 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:

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

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

Change History

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

comment:1 Changed 5 years ago by igaztanaga

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

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.