Opened 12 years ago

Closed 11 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


Change History (1)

comment:1 Changed 11 years ago by Vladimir Prus

Resolution: Nonefixed
Severity: Showstopper
Status: assignedclosed

I have applied this fix in CVS. Thanks.

Note: See TracTickets for help on using tickets.