Version française
Home     About     Download     Resources     Contact us    
Browse thread
Followup PCRE for OCaml...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <mottl@m...>
Subject: Followup PCRE for OCaml...
Hello,

in case you have encountered strange behaviour with the just released
OCaml-PCRE library on 64-bit architectures - this problem is now fixed
and the changed sources can be downloaded again...

Reason:

  OCaml always takes the "bigger" possibility for integers on 64-bit
  architectures (long int), but the C-library PCRE always returns 32-bit
  integers (int) for pattern offsets. Thus, the integer array of offsets
  had to be converted from 32-bit to 64-bit ones...

Sorry for possible inconveniences...

Best regards,
Markus Mottl

-- 
Markus Mottl, mottl@miss.wu-wien.ac.at, http://miss.wu-wien.ac.at/~mottl