On Nov 30, 2009, at 4:47 AM, Neil Booth wrote: > Chris Lattner wrote:- > >> Author: lattner >> Date: Sun Nov 29 22:18:44 2009 >> New Revision: 90110 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=90110&view=rev >> Log: >> Fix PR5633 by making the preprocessor handle the case where we can >> stat a file but where mmaping it fails. In this case, we emit an >> error like: >> t.c:1:10: fatal error: error opening file '../../foo.h' >> >> instead of "cannot find file". > > Thanks Chris. It's nice to retain errno and use strerror for > these; it's not always obvious what the issue is. Mine gives > the following in this example.
Makes sense, implemented in r90276, thanks. -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
