These are the minimal fixes for smoking to take effect.
After these are in, I'll release Parrot::Smoke

* Makefile.in
    * it is $(INC)/config.h, not config.h
    * .o => $(O)
* test_main.c
    * _read was ok when it was inside
      ifdef WIN32
      now it must be read ( or it fails in
      non-win32 pre-5.6.0 systems )
* t/op/integer.t
    * you *can't* test 0xffffffff == -1
      ( and the whole first test looks
        very suspicious )

Regards
Mattia

--- parrot.cvs/Makefile.in      Thu Sep 20 00:54:46 2001
+++ parrot/Makefile.in  Thu Sep 20 15:35:14 2001
@@ -19,5 +19,5 @@
 PDUMP = pdump${exe}
 
-.c.o:
+.c$(O):
        $(CC) $(CFLAGS) -o $@ -c $<
 
@@ -66,5 +66,5 @@
        $(PERL) make_op_header.pl opcode_table > $(INC)/op.h
 
-config.h: Configure.pl config_h.in
+$(INC)/config.h: Configure.pl config_h.in
        $(PERL) Configure.pl
 
--- parrot.cvs/test_main.c      Thu Sep 20 15:27:42 2001
+++ parrot/test_main.c  Thu Sep 20 15:27:18 2001
@@ -95,5 +95,5 @@
 #ifndef HAS_HEADER_SYSMMAN
         program_code = (opcode_t*)mem_sys_allocate(program_size);
-        _read(fd, (void*)program_code, program_size);
+        read(fd, (void*)program_code, program_size);
 #else
         program_code = (opcode_t*)mmap(0, program_size, PROT_READ, MAP_SHARED, fd, 0);
--- parrot.cvs/t/op/integer.t   Thu Sep 20 15:25:46 2001
+++ parrot/t/op/integer.t       Thu Sep 20 15:25:04 2001
@@ -19,7 +19,4 @@
        print   I2
        print   "\\n"
-       set     I3, 4294967295
-       print   I3
-       print   "\\n"
        end
 CODE
@@ -28,5 +25,4 @@
 2147483647
 -2147483648
--1
 OUTPUT
 

Reply via email to