qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Use of PATH_MAX


From: Ian Jackson
Subject: Re: [Qemu-devel] Use of PATH_MAX
Date: Fri, 16 May 2008 15:24:27 +0100

iwj writes ("Re: [Qemu-devel] Use of PATH_MAX"):
> I agree that it would be better to get rid of the static buffers.  But
> at the moment I'm just trying to stop a tide of PATH_MAX nonsense
> enveloping the Xen semi-fork.  [...]

Sorry, let me be clearer: in the Xen version of qemu, which I'm trying
to bring more into line with upstream, people are seeing PATH_MAX in
some places and changing fixed constants 1024 to PATH_MAX because they
think that PATH_MAX is the right thing to do.

If I can get agreement on a new name to use in qemu proper then it
will be easy to change to use that everywhere.

Of course if someone wants to do the work to make the buffers dynamic
then that is good but that's quite a bit of work and is likely to
introduce the occasional memory management bug, so I don't think that
changing 1024 and PATH_MAX to QEMU_PATH_MAX should wait for it.

Ian.




reply via email to

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