sm/misc.c uses setenv(), which is not portable
Closed, ResolvedPublic

Description

Release: 1.9.16

Environment

sparc-sun-solaris2.9
Compiler: Sun Studio 10

Description

misc.c uses setenv(), which does not exist on Solaris

How To Repeat

Compile on Solaris.

Fix

Use putenv(). See attached patch.

rlink added a subscriber: rlink.May 26 2005, 12:13 AM

werner added a subscriber: werner.May 31 2005, 11:39 PM

The provied patch won't work as it writes to
read-only/unallocated memory. We will provide a gnulib
replacement function.

werner added a comment.Jun 1 2005, 7:28 PM

Added gnulib code to solve this. I can't test this hwoever.

werner closed this task as Resolved.Oct 2 2006, 8:11 PM
werner removed a project: Testing.