This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, serhiy.storchaka, zach.ware
Date 2014-01-21.21:08:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I had to throw it in a struct to prevent gcc from rearranging the variables.  But this demonstrates the problem--when it prints the string, it doesn't stop at the end.

#include <stdio.h>

typedef struct
        int a;
        char b[8];
        int c;
} abc_t;

int main(int argc, char *argv[])
        abc_t abc = {-1, "abcdefgh", -1};
        printf("abc %i%s%i\n", abc.a, abc.b, abc.c);
        return 0;
Date User Action Args
2014-01-21 21:08:02larrysetrecipients: + larry, zach.ware, serhiy.storchaka
2014-01-21 21:08:02larrysetmessageid: <>
2014-01-21 21:08:02larrylinkissue20323 messages
2014-01-21 21:08:02larrycreate