r25650 - in /trunk/libfilehandle-fmode-perl: CHANGES Fmode.pm Fmode.xs MANIFEST Makefile.PL debian/changelog debian/control debian/copyright t/pod.t
yvesago-guest at users.alioth.debian.org
yvesago-guest at users.alioth.debian.org
Fri Sep 26 15:22:53 UTC 2008
Author: yvesago-guest
Date: Fri Sep 26 15:22:50 2008
New Revision: 25650
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25650
Log:
* new upstream release
* upstream add a clear copyryght notice
* upstream add pod test
Added:
trunk/libfilehandle-fmode-perl/t/pod.t
- copied unchanged from r25646, branches/upstream/libfilehandle-fmode-perl/current/t/pod.t
Modified:
trunk/libfilehandle-fmode-perl/CHANGES
trunk/libfilehandle-fmode-perl/Fmode.pm
trunk/libfilehandle-fmode-perl/Fmode.xs
trunk/libfilehandle-fmode-perl/MANIFEST
trunk/libfilehandle-fmode-perl/Makefile.PL
trunk/libfilehandle-fmode-perl/debian/changelog
trunk/libfilehandle-fmode-perl/debian/control
trunk/libfilehandle-fmode-perl/debian/copyright
Modified: trunk/libfilehandle-fmode-perl/CHANGES
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/CHANGES?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/CHANGES (original)
+++ trunk/libfilehandle-fmode-perl/CHANGES Fri Sep 26 15:22:50 2008
@@ -1,3 +1,5 @@
+0.11 - Add copyright notice to the LICENSE section of the pod.
+
0.10 - Add is_FH() - which is just a (more intuitively named) alias for
is_arg_ok().
Various minor adjustments to enable trouble-free building on pre-5.6.
Modified: trunk/libfilehandle-fmode-perl/Fmode.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/Fmode.pm?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/Fmode.pm (original)
+++ trunk/libfilehandle-fmode-perl/Fmode.pm Fri Sep 26 15:22:50 2008
@@ -7,7 +7,7 @@
*is_FH = \&is_arg_ok;
-$FileHandle::Fmode::VERSION = 0.10;
+$FileHandle::Fmode::VERSION = 0.11;
@FileHandle::Fmode::ISA = qw(Exporter DynaLoader);
@@ -145,6 +145,12 @@
check by passing the argument to is_FH(). Or you could wrap the
function call in an eval{} block.
+ Note that it may be possible that a filehandle opened for writing may
+ become unwritable - if (eg) the disk becomes full. I don't know how
+ the below functions would be affected by such an event. I suspect
+ that they would be unaware of the change ... but I haven't actually
+ checked.
+
$bool = is_R($fh);
$bool = is_R(\*FH);
Returns true if the filehandle is readable.
@@ -209,6 +215,7 @@
This program is free software; you may redistribute it and/or
modify it under the same terms as Perl itself.
+ Copyright 2006-2008, Sisyphus
=head1 AUTHOR
Modified: trunk/libfilehandle-fmode-perl/Fmode.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/Fmode.xs?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/Fmode.xs (original)
+++ trunk/libfilehandle-fmode-perl/Fmode.xs Fri Sep 26 15:22:50 2008
@@ -41,7 +41,7 @@
io = sv_2io(handle);
f = IoIFP(io);
if(PerlIOValid(f)){
- const IV flags = PerlIOBase(f)->flags;
+ flags = PerlIOBase(f)->flags;
if(flags & PERLIO_F_CANREAD) return newSVuv(1);
return newSVuv(0);
}
Modified: trunk/libfilehandle-fmode-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/MANIFEST?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/MANIFEST (original)
+++ trunk/libfilehandle-fmode-perl/MANIFEST Fri Sep 26 15:22:50 2008
@@ -5,4 +5,5 @@
Fmode.pm
Fmode.xs
t/basic.t
-t/binmode.t
+t/binmode.t
+t/pod.t
Modified: trunk/libfilehandle-fmode-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/Makefile.PL?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/Makefile.PL (original)
+++ trunk/libfilehandle-fmode-perl/Makefile.PL Fri Sep 26 15:22:50 2008
@@ -1,12 +1,12 @@
use ExtUtils::MakeMaker;
-my %options = %{
-{
+my %options =
+(
NAME => 'FileHandle::Fmode',
VERSION_FROM => 'Fmode.pm',
DEFINE => $] < 5.008 ? $] < 5.006001 ? '-DOLDPERL' : '-DPERL561_OR_LATER' : '-DPERL580_OR_LATER -DPERL561_OR_LATER',
clean => { FILES => 'temp.txt temp2.txt' },
-}
-};
+);
WriteMakefile(%options);
+
Modified: trunk/libfilehandle-fmode-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/debian/changelog?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/debian/changelog (original)
+++ trunk/libfilehandle-fmode-perl/debian/changelog Fri Sep 26 15:22:50 2008
@@ -1,4 +1,4 @@
-libfilehandle-fmode-perl (0.10-1) UNRELEASED; urgency=low
+libfilehandle-fmode-perl (0.11-1) unstable; urgency=low
* Initial Release. (Closes: #499237)
Modified: trunk/libfilehandle-fmode-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/debian/control?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/debian/control (original)
+++ trunk/libfilehandle-fmode-perl/debian/control Fri Sep 26 15:22:50 2008
@@ -1,7 +1,7 @@
Source: libfilehandle-fmode-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7), perl (>= 5.6.10-12)
+Build-Depends: debhelper (>= 7), perl (>= 5.6.10-12), libtest-pod-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: AGOSTINI Yves <agostini at univ-metz.fr>
Standards-Version: 3.8.0
Modified: trunk/libfilehandle-fmode-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libfilehandle-fmode-perl/debian/copyright?rev=25650&op=diff
==============================================================================
--- trunk/libfilehandle-fmode-perl/debian/copyright (original)
+++ trunk/libfilehandle-fmode-perl/debian/copyright Fri Sep 26 15:22:50 2008
@@ -4,12 +4,10 @@
Upstream-Source: http://search.cpan.org/dist/FileHandle-Fmode/
Files: *
-Copyright: Copyright 2006-2007, Sisyphus
+Copyright: Copyright 2006-2008, Sisyphus
License: GPL-1+ | Artistic
This program is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
- .
- Copyright notice is deduced from cpan releases
Files: debian/*
Copyright: Copyright 2008, AGOSTINI Yves <agostini at univ-metz.fr>
More information about the Pkg-perl-cvs-commits
mailing list