Re: perl, C, and odd things

2002-03-07 Thread Marcin Owsiany
On Wed, Mar 06, 2002 at 10:16:51PM +0100, Josselin Mouette wrote: > finalpath = malloc(strlen(datapath) + sizeof(mypath) + 1); > sprintf(finalpath, "%s%s", datapath, mypath); > Good. But it has been reported that on at least one Debian system (also > an up-to-date sid), it leads to

Re: perl, C, and odd things

2002-03-07 Thread Marcin Owsiany
On Wed, Mar 06, 2002 at 10:16:51PM +0100, Josselin Mouette wrote: > finalpath = malloc(strlen(datapath) + sizeof(mypath) + 1); > sprintf(finalpath, "%s%s", datapath, mypath); > Good. But it has been reported that on at least one Debian system (also > an up-to-date sid), it leads t

Re: perl, C, and odd things

2002-03-06 Thread Josselin Mouette
le mer 06-03-2002 à 22:41, Ari Pollak a écrit : > Dumb question.. is the person that reported that on an architecture > other than i386? It is an i386, running the same package versions that those I tested with. -- .''`. Josselin Mouette/\./\ : :' : [EMAIL PROTECTED

Re: perl, C, and odd things

2002-03-06 Thread Ari Pollak
Dumb question.. is the person that reported that on an architecture other than i386? On Wed, Mar 06, 2002 at 10:16:51PM +0100, Josselin Mouette wrote: > Good. But it has been reported that on at least one Debian system (also > an up-to-date sid), it leads to : > open("/usr/share/frozen-bubbledata

perl, C, and odd things

2002-03-06 Thread Josselin Mouette
Hi, I have noticed a strange thing with this piece of code : A perl program calls this : fb_c_stuff::init_effects($FPATH); with $FPATH = "/usr/share/frozen-bubble" Here is the corresponding C code : void plasma_init(char * datapath) { char * finalpath; char mypath[] = "/data

Re: perl, C, and odd things

2002-03-06 Thread Josselin Mouette
le mer 06-03-2002 à 22:41, Ari Pollak a écrit : > Dumb question.. is the person that reported that on an architecture > other than i386? It is an i386, running the same package versions that those I tested with. -- .''`. Josselin Mouette/\./\ : :' : [EMAIL PROTECTE

Re: perl, C, and odd things

2002-03-06 Thread Ari Pollak
Dumb question.. is the person that reported that on an architecture other than i386? On Wed, Mar 06, 2002 at 10:16:51PM +0100, Josselin Mouette wrote: > Good. But it has been reported that on at least one Debian system (also > an up-to-date sid), it leads to : > open("/usr/share/frozen-bubbledat

perl, C, and odd things

2002-03-06 Thread Josselin Mouette
Hi, I have noticed a strange thing with this piece of code : A perl program calls this : fb_c_stuff::init_effects($FPATH); with $FPATH = "/usr/share/frozen-bubble" Here is the corresponding C code : void plasma_init(char * datapath) { char * finalpath; char mypath[] = "/dat