www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/01/23:44:08

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10110020339.AA16416@clio.rice.edu>
Subject: putenv question
To: djgpp-workers AT delorie DOT com (DJGPP developers)
Date: Mon, 1 Oct 2001 22:39:13 -0500 (CDT)
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

I don't have a posix standard, so a simple question ...

putenv in 2.03 took a const char * argument

When it was moved to the posix section in cvs it is no longer const
When I passed the const strings "lfn=" in mntent I had to unconst
the strings to avoid warnings.  Is it against the standard or some
other way bad for this to be const in the headers?  Just wondering.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019