This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/3093] Fails to build with GCC 4.2


------- Additional Comments From eugen at debian dot org  2006-08-23 13:44 -------
(In reply to comment #2)

> This is problematic as well, because putenv expects the string in its parameter
> to be persistent.  We luck out here since the local arrays are in main, so they
> last "long enough", but it's still bad form.
> 
yes, that was bad idea.

> I updated the patch to use setenv instead, which takes const char*, so it
> should be more friendly to assigning string constants.	Please confirm that
> this patch compiles cleanly on gcc 4.2, and I will commit it.

This patch compiles cleanly with gcc 4.2.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3093

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]