From: Mr. Nobody Date: Fri, 16 Aug 2002 20:40:58 +0000 (-0700) Subject: Re: [PATCH] fix typos in perlpacktut X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d832b8f6192291521fc92585d85d61d627e0c3d3;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] fix typos in perlpacktut From: "Mr. Nobody" Message-id: <20020817034058.45633.qmail@web20802.mail.yahoo.com> p4raw-id: //depot/perl@17743 --- diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod index 2c5f1ec..ac7a01a 100644 --- a/pod/perlpacktut.pod +++ b/pod/perlpacktut.pod @@ -373,7 +373,7 @@ you have to import it with C.) s! S! sizeof(short) $Config{shortsize} i! I! sizeof(int) $Config{intsize} l! L! sizeof(long) $Config{longsize} - q! Q! sizeof(longlong) $Config{longlongsize} + q! Q! sizeof(long long) $Config{longlongsize} The C and C codes aren't different from C and C; they are tolerated for completeness' sake. @@ -836,7 +836,7 @@ program? Here's a C program that does the trick: #define Pt(struct,field,tchar) \ printf( "@%d%s ", offsetof(struct,field), # tchar ); - int main(){ + int main() { Pt( gappy_t, fc1, c ); Pt( gappy_t, fs, s! ); Pt( gappy_t, fc2, c );