[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Do not install my latest Debian snapshot!
From: |
Richard Levitte |
Subject: |
Re: [Monotone-devel] Do not install my latest Debian snapshot! |
Date: |
Tue, 17 Jul 2007 10:24:21 +0200 (CEST) |
In message <address@hidden> on Mon, 16 Jul 2007 23:41:07 -0700, "Zack Weinberg"
<address@hidden> said:
zackw> On 7/16/07, Richard Levitte <address@hidden> wrote:
zackw> >
zackw> > I think I've made a generic implementation that should work
zackw> > well enough. It's based on mktemp() which, although deemed
zackw> > unsafe in general, should work well combined with the
zackw> > non-clobbering feature of mkdir(). It's in
zackw> > f64a2daedf0f80005070c08eb34dffaefc0c394a.
zackw>
zackw> Yeah, that should work fine. Thanks!
Except )(/#¤(&% Microsoft has decided to deprecate the )(/%#(/¤%&/
POSIX functions mkdir() and mktemp() and renamed them to _-prefixed
variants instead! &(/#¤%(()/#¤/ idiots!!!!!
(I'm in a bad mood today, does it show?)
zackw> (I think, if !HAVE_MKDTEMP, you could just define static char *
zackw> mkdtemp(...) -- there shouldn't be anything in the headers by
zackw> that name then.)
Hmm, good point. Guess I'm a bit paranoid ;-)
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis