[svn:parrot] r39047 - in trunk: lib/Parrot src/io src/pmc
Infinoid at svn.parrot.org
Infinoid at svn.parrot.org
Fri May 22 16:43:35 UTC 2009
Author: Infinoid
Date: Fri May 22 16:43:35 2009
New Revision: 39047
URL: https://trac.parrot.org/parrot/changeset/39047
Log:
[cage] Clean up some codetest failures. Make src/gc/malloc.c exempt from
the codetests; it is third party code and (apparently) not worth fixing up.
Modified:
trunk/lib/Parrot/Distribution.pm
trunk/src/io/unix.c
trunk/src/pmc/filehandle.pmc
Modified: trunk/lib/Parrot/Distribution.pm
==============================================================================
--- trunk/lib/Parrot/Distribution.pm Fri May 22 16:43:29 2009 (r39046)
+++ trunk/lib/Parrot/Distribution.pm Fri May 22 16:43:35 2009 (r39047)
@@ -431,7 +431,7 @@
compilers/pirc/macro/macrolexer.h
compilers/pirc/macro/macroparser.c
compilers/pirc/macro/macroparser.h
- src/malloc.c
+ src/gc/malloc.c
} unless @exemptions;
my $path = -f $file ? $file : $file->path;
Modified: trunk/src/io/unix.c
==============================================================================
--- trunk/src/io/unix.c Fri May 22 16:43:29 2009 (r39046)
+++ trunk/src/io/unix.c Fri May 22 16:43:35 2009 (r39047)
@@ -33,8 +33,8 @@
#ifdef PIO_OS_UNIX
-#include <sys/types.h>
-#include <sys/wait.h>
+# include <sys/types.h>
+# include <sys/wait.h>
/* HEADERIZER HFILE: include/parrot/io_unix.h */
Modified: trunk/src/pmc/filehandle.pmc
==============================================================================
--- trunk/src/pmc/filehandle.pmc Fri May 22 16:43:29 2009 (r39046)
+++ trunk/src/pmc/filehandle.pmc Fri May 22 16:43:35 2009 (r39047)
@@ -84,12 +84,15 @@
data_struct->buffer_next = NULL;
/* Initialize the os_handle to the platform-specific value for closed. */
+
#ifdef PIO_OS_WIN32
data_struct->os_handle = (PIOHANDLE)INVALID_HANDLE_VALUE;
#endif
+
#ifdef PIO_OS_UNIX
data_struct->os_handle = (PIOHANDLE)-1;
#endif
+
#ifdef PIO_OS_STDIO
data_struct->os_handle = (PIOHANDLE)NULL;
#endif
@@ -179,7 +182,7 @@
VTABLE INTVAL get_integer_keyed_int(INTVAL key) {
INTVAL result;
- switch(key) {
+ switch (key) {
case 0:
GET_ATTR_process_id(INTERP, SELF, result);
break;
@@ -201,7 +204,7 @@
*/
VTABLE void set_integer_keyed_int(INTVAL key, INTVAL value) {
- switch(key) {
+ switch (key) {
case 0:
SET_ATTR_process_id(INTERP, SELF, value);
break;
More information about the parrot-commits
mailing list