atom feed6 messages in at.iem.pd-dev[PD-dev] segv when HOME not set
FromSent OnAttachments
Hans-Christoph SteinerSep 14, 2003 6:55 pm 
Larry TroxlerSep 14, 2003 10:27 pm 
guenter geigerSep 15, 2003 2:50 am 
Tom SchoutenSep 15, 2003 3:18 am 
Miller PucketteSep 15, 2003 5:18 pm 
piet...@gmx.netSep 16, 2003 1:36 am 
Subject:[PD-dev] segv when HOME not set
From:Tom Schouten (doe@zzz.kotnet.org)
Date:Sep 15, 2003 3:18:48 am
List:at.iem.pd-dev

i tried running pd 0.37 on a stripped down linux system yesterday, and it crashed when the HOME environment variable was not set. getenv("HOME") returns NULL in s_path.c, function int sys_rcfile(void), which will cause the line

strncat(fname, getenv("HOME"), MAXPDSTRING-10);

(number 308) to die.

sorry if this is already fixed, i'm running 0.37-test8

tom