Summary

sha1 egg breakage for newer chicken

Metadata

Description

After 4.6.4 on experimental the sha1 egg is broken due to removed 'pointer' FFI types. After replacing the 'pointer' with 'c-pointer' it compiles but tests fail. An excerpt:

 (sha1-digest input)
         Individual byte 13[#x8]50 .................................... [ERROR]
             
 Error: bad argument type - not a pointer: #${000000000000000000000000000800000000000000000000000000000000000000000000000000...
     (sha1-digest input)
         Individual byte 13[#x4]50 .................................... [ERROR]
  }}}
 
 I am not sure what's going on here, apart from that trunk is not different from the tagged version...

Changes and comments

[2011-01-04 18:35:28 UTC] sjamaan wrote:

Fixed in trunk, will make a new release shortly (should be scheme-pointer, not c-pointer).

Thanks for reporting!

[2011-01-07 18:56:53 UTC] ckeen changed status from new to closed

[2011-01-07 18:56:53 UTC] ckeen set resolution to fixed

[2011-01-07 18:56:53 UTC] ckeen wrote:

Works now after making the helper functions static.

[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0

[2011-06-01 09:00:41 UTC] felix wrote:

Milestone 4.7.0 deleted

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted