[LLVMdev] Little win32/Signals.cpp patch

Jeff Cohen jeffc at jolt-lang.org
Fri Sep 24 08:39:08 PDT 2004


You are correct.  This is a bug and is also present in the generic Unix
version.  Using Path::destroy_file fixes that also.

On Fri, 24 Sep 2004 10:25:13 -0500
Misha Brukman <brukman at uiuc.edu> wrote:

> On Fri, Sep 24, 2004 at 08:17:41AM -0700, Jeff Cohen wrote:
> > Actually, <algorithm> is not correct.  This remove is in stdio.h and
> > io.h in VC7.1.  It removes a file, not elements from a collection.
> > 
> > The proper solution is to not use remove at all and use
> > Path::destroy_file().
> 
> But don't you want to use ::remove instead of std::remove then?
> 
> -- 
> Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list