[cfe-commits] r173208 - in /cfe/trunk/lib/Lex: HeaderSearch.cpp ModuleMap.cpp
Dmitri Gribenko
gribozavr at gmail.com
Sat Jan 26 08:30:54 PST 2013
On Thu, Jan 24, 2013 at 12:33 AM, Douglas Gregor <dgregor at apple.com> wrote:
> On Jan 23, 2013, at 2:26 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
>> Headers under linux/* is not for userspace consumption. The correct header
>> file is <limits.h>.
>
> According to the thread for this patch ([PATCH] clang: fix compilation on
> Linux), <limits.h> doesn't pull in PATH_MAX. I don't have a Linux system to
> verify either way.
Verified and fixed in r173578.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-commits
mailing list