develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33666 - branches/pdd22io_part2/src/pmc

From:
particle
Date:
December 8, 2008 12:08
Subject:
[svn:parrot] r33666 - branches/pdd22io_part2/src/pmc
Message ID:
20081208200805.8FB90CB9AF@x12.develooper.com
Author: particle
Date: Mon Dec  8 12:08:04 2008
New Revision: 33666

Modified:
   branches/pdd22io_part2/src/pmc/filehandle.pmc

Log:
[pmc] fix C89-o

Modified: branches/pdd22io_part2/src/pmc/filehandle.pmc
==============================================================================
--- branches/pdd22io_part2/src/pmc/filehandle.pmc	(original)
+++ branches/pdd22io_part2/src/pmc/filehandle.pmc	Mon Dec  8 12:08:04 2008
@@ -296,8 +296,8 @@
             /* called as class method - open, slurp, close file */
             PMC *filehandle;
             STRING *encoding;
-            GET_ATTR_encoding(INTERP, SELF, encoding);
             size_t size;
+            GET_ATTR_encoding(INTERP, SELF, encoding);
             if (!Parrot_io_is_closed(INTERP, SELF)) {
                 Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_PIO_ERROR,
                                 "Cannot readall on a new file from an already open filehandle");



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About