This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9c78c
)
Fix declaration-after-statement problem
author
Sebastian Steinlechner
<steinlechner@gmx.net>
Mon, 18 Sep 2006 01:38:31 +0000
(
03:38
+0200)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 18 Sep 2006 09:04:02 +0000
(09:04 +0000)
Subject: [bug] IO::Socket's IO.xs fails to compile
Message-ID: <
450DDC77
.2060405@gmx.net>
p4raw-id: //depot/perl@28866
ext/IO/IO.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/IO/IO.xs
b/ext/IO/IO.xs
index
4b896a5
..
bb64141
100644
(file)
--- a/
ext/IO/IO.xs
+++ b/
ext/IO/IO.xs
@@
-132,10
+132,10
@@
fgetpos(handle)
InputStream handle
CODE:
if (handle) {
+ Fpos_t pos;
#ifdef PerlIO
ST(0) = sv_newmortal();
#if PERL_VERSION < 8
- Fpos_t pos;
if (PerlIO_getpos(handle, &pos) != 0) {
ST(0) = &PL_sv_undef;
}