homepage

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 <1390338482.84.0.559478122768.issue20323@psf.upfronthosting.co.za>
In-reply-to
Content
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;
}
-----
History
Date User Action Args
2014年01月21日 21:08:02larrysetrecipients: + larry, zach.ware, serhiy.storchaka
2014年01月21日 21:08:02larrysetmessageid: <1390338482.84.0.559478122768.issue20323@psf.upfronthosting.co.za>
2014年01月21日 21:08:02larrylinkissue20323 messages
2014年01月21日 21:08:02larrycreate

AltStyle によって変換されたページ (->オリジナル) /