atom feed6 messages in at.iem.pd-devRe: [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:Re: [PD-dev] segv when HOME not set
From:Miller Puckette (mpuc@man104-1.ucsd.edu)
Date:Sep 15, 2003 5:18:51 pm
List:at.iem.pd-dev

Thanks... I'll fix it. I presume just "." is the most natural fallback when there's no $HOME...

cheers Miller

On Mon, Sep 15, 2003 at 12:19:10PM +0200, Tom Schouten wrote:

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