Modify

Opened 8 years ago

Closed 8 years ago

#2967 closed Patches (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (2)

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

comment:1 Changed 8 years ago by igaztanaga

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain igaztanaga.
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.