monotone-devel
[Top][All Lists]
Advanced

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

RE: [Monotone-devel] Do not install my latest Debian snapshot!


From: Kelly F. Hickel
Subject: RE: [Monotone-devel] Do not install my latest Debian snapshot!
Date: Tue, 17 Jul 2007 06:14:35 -0500

> 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!!!!!

[Kelly F. Hickel] Hmm, that's interesting, MS claims that this is a change 
brought on by the ISO C++ standard....  It surprises me a bit that they'd make 
this change so suddenly without providing a compatibility mode, but hey, there 
you go!

-Kelly



> 
> (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
> 
> 
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel




reply via email to

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