xffm changes
Thomas Leonard
tal00r at ecs.soton.ac.uk
Tue Jan 28 11:33:46 CET 2003
On Tue, Jan 28, 2003 at 11:07:42AM +0100, Olivier Fourdan wrote:
> Hi Thomas,
>
> > > I must admit I used to think as you, but it's Thomas Leonard's fault
> > > that I combine both tecniques (reading code from rox filer I noticed he
> > > uses buffers of 4096, to hold stuff much smaller).
>
> Hehehe, it's gotta be someone's fault, so why not yours ? lol :)
>
> > We only do this when there's no way to know how much memory to allocate in
> > advance, eg when calling gethostname, and we always reallocate it onto the
> > heap once we've got it. I'm pretty sure we have no fixed-size buffers that
> > aren't only allocated very briefly on the stack for this purpose...
>
> g_strdup_printf() is my friend here :)
Or, indeed, g_strdup() ;-)
> BTW, Thomas, did you notice that xfce-mcs-manager and xfce-mcs-plugins
> now come with separate packages, so that ROX users can use
> xfce-mcs-manager+xfwm4 along with ROX Session ?
Just upgraded -- looks good! Thanks :-)
--
Thomas Leonard http://rox.sourceforge.net
tal00r at ecs.soton.ac.uk tal197 at users.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
More information about the Xfce4-dev
mailing list