summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorMr. Nobody <mrnobo1024@yahoo.com>2002-08-16 13:40:58 -0700
committerhv <hv@crypt.org>2002-08-20 15:31:40 +0000
commitd832b8f6192291521fc92585d85d61d627e0c3d3 (patch)
tree1afd34249a5e211d81c31c6d5a56f67107fa377a /pod
parent92f0c2656233063d579e19d8c63f7cbf6ce7b9a2 (diff)
downloadperl-d832b8f6192291521fc92585d85d61d627e0c3d3.tar.gz
Re: [PATCH] fix typos in perlpacktut
From: "Mr. Nobody" <mrnobo1024@yahoo.com> Message-id: <20020817034058.45633.qmail@web20802.mail.yahoo.com> p4raw-id: //depot/perl@17743
Diffstat (limited to 'pod')
-rw-r--r--pod/perlpacktut.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlpacktut.pod b/pod/perlpacktut.pod
index 2c5f1ec8d0..ac7a01a6b8 100644
--- a/pod/perlpacktut.pod
+++ b/pod/perlpacktut.pod
@@ -373,7 +373,7 @@ you have to import it with C<use Config>.)
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<i!> and C<I!> codes aren't different from C<i> and C<I>; 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 );