Annotation of coherent/b/bin/ps/ps_b4_krnl68/foo.c, revision 1.1

1.1     ! root        1: main()
        !             2: {
        !             3:        unsigned short foo, bar;
        !             4: 
        !             5:        bar = (unsigned short) -1;
        !             6: 
        !             7:        /*
        !             8:         * BUG
        !             9:         * ( foo = bar) is being treated as (long).
        !            10:         */
        !            11:        if (((unsigned short)(foo = bar)) == (unsigned short) -1) {
        !            12:                printf("Everything is OK.\n");
        !            13:        } else {
        !            14:                printf("Compiler bug.\n");
        !            15:        }
        !            16: 
        !            17: } /* main() */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.