diff for duplicates of <20100818025022.GM31363@ZenIV.linux.org.uk> diff --git a/a/1.txt b/N1/1.txt index fa70f69..03613e9 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,10 +18,10 @@ Actually, it's not that complicated: 2) order of types is always the same: int -> unsigned -> long -> unsigned long -> long long -> unsigned long long 3) we always choose the first type the value would fit into -4) L in suffix = "at least long" -5) LL in suffix = "at least long long" -6) U in suffix = "unsigned" -7) without U in suffix, base 10 = "signed" +4) L in suffix == "at least long" +5) LL in suffix == "at least long long" +6) U in suffix == "unsigned" +7) without U in suffix, base 10 == "signed" That's it. C90 differs from C99 only in one thing - long long (and LL) isn't there. The subtle mess Linus has mentioned is C90 gccism: gcc has allowed diff --git a/a/content_digest b/N1/content_digest index fa16197..5bebe58 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020100817.191245.112612004.davem@davemloft.net\0" "From\0Al Viro <viro@zeniv.linux.org.uk>\0" "Subject\0Re: [GIT] Sparc\0" - "Date\0Wed, 18 Aug 2010 02:50:23 +0000\0" + "Date\0Wed, 18 Aug 2010 03:50:23 +0100\0" "To\0David Miller <davem@davemloft.net>\0" "Cc\0torvalds@linux-foundation.org" akpm@linux-foundation.org @@ -31,10 +31,10 @@ "2) order of types is always the same: int -> unsigned -> long -> unsigned\n" "long -> long long -> unsigned long long\n" "3) we always choose the first type the value would fit into\n" - "4) L in suffix = \"at least long\"\n" - "5) LL in suffix = \"at least long long\"\n" - "6) U in suffix = \"unsigned\"\n" - "7) without U in suffix, base 10 = \"signed\"\n" + "4) L in suffix == \"at least long\"\n" + "5) LL in suffix == \"at least long long\"\n" + "6) U in suffix == \"unsigned\"\n" + "7) without U in suffix, base 10 == \"signed\"\n" "\n" "That's it. C90 differs from C99 only in one thing - long long (and LL) isn't\n" "there. The subtle mess Linus has mentioned is C90 gccism: gcc has allowed\n" @@ -47,4 +47,4 @@ "But yes, \"use the suffix when unsure\" is a damn good idea, _especially_ since\n" the sizeof(long) actually varies between the targets we care about. -e5f0070ec856bec991a8c593e81c30e5b9f2a975f67fc8843c0f57b49dae709b +093e89ab3c73b58ff60bf733232d2575e332589a92e4868b92ff843ce4bc7ea7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.