On Mon, Jun 01, 2009 at 10:03:06PM +0200, Branko Čibej wrote:
> Paul Burba wrote:
> > You also brought up the question of whether we can change
> > svn_io_open_uniquely_named()'s behavior from that currently described
> > by its doc string without revving the API. I tend to think not, the
> > doc string is quite explicit in spelling out what the temp file's
> > names will be...though maybe the language "with a unique name
> > ***based*** on * utf-8 encoded @a filename" gives us some wiggle room,
> > depending on how we interpret "based on".
> >
>
> I think we would really, really be in need of psychiatric help if we
> constrained ourselves to the predictability of temp file names based on
> some docstring wording. Is anyone of the opinioin that the names of
> temporary files are any kind of external API?
No, but I don't think that matters here.
As I said in another mail, I think the predictable tempfile names
are still useful for tempfiles that users interact with, like log messages.
So I'd say we need both random names (for security and performance)
and predictable names (for user-friendliness) and make use of them
appropriately.
Stefan
Received on 2009-06-02 17:05:52 CEST