bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string ports hork on NUL's


From: Gary Houston
Subject: Re: string ports hork on NUL's
Date: 11 Jul 2001 17:41:38 -0000

> From: "Dale P. Smith" <address@hidden>
> Date: Wed, 11 Jul 2001 12:31:47 -0400
> 
> I was using a string port with guile-gd and the generated images were
> always invalid.  The strncpy in st_write.c was stopping at the first NUL
> (as strncpy is supposed to do).  Using memcpy seems to work nicely. 
> Patch is below.

Thanks, I'll apply this change.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]