Modify

Opened 11 years ago

Closed 10 years ago

#739 closed Patches (fixed)

[program_options] putenv on Solaris

Reported by: nobody Owned by: Vladimir Prus
Milestone: Component: None
Version: None Severity: Showstopper
Keywords: Cc:

Description

<cstdlib> does not contain "putenv" on Solaris.  Here
is a patch for program_options, based off the CVS
repository.

----

Index: program_options/test/parsers_test.cpp
===================================================================
RCS file:
/cvsroot/boost/boost/libs/program_options/test/parsers_test.cpp,v
retrieving revision 1.15
diff -w -r1.15 parsers_test.cpp
6d5
<
22a22,24
> #if defined(__sun)
> #include <stdlib.h> // for putenv on solaris
> #else
23a26
> #endif


---

Thanks, jason
mailings +at+ happie +dot+ com


Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Vladimir Prus

Resolution: Nonefixed
Severity: Showstopper
Status: assignedclosed

I have applied this fix in CVS. Thanks.

Modify Ticket

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