Hi Terry, not sure if you've tested this on the Pi or not? I'm not overly familiar with MUMPS V1 or %mapi* so may be doing something stupid, but I'm getting segmentation faults when trying to run the unit tests:
MCL> d testall^%mapitun
test1 ;Convert an Ascii string to UTF-8 Unicode.
Some Ascii characters:
??
Some Unicode characters:
????
test2 ;Convert UTF-8 Unicode string to Ascii
Some Ascii characters:
Some Unicode characters:
Segmentation fault
$
I also get a segmentation fault when trying to TYPE the routine:
...
testall ; Test all subroutines below.
new i,tag,line
for i=1:1 set tag="test"_i,line=$text(@tag) quit:line="" do
. write !,line,!
. do @tag
quit
Segmentation fault
$
Mike
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Have not tested this on the Pi yet. That's planned in the April timeframe. Next version has been enhanced considerably and added to a new project. However, Segmentation faults are due to MUMPSV1 not responding to uncertain conditions properly. I'll check it out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Problems" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi Terry, not sure if you've tested this on the Pi or not? I'm not overly familiar with MUMPS V1 or %mapi* so may be doing something stupid, but I'm getting segmentation faults when trying to run the unit tests:
MCL> d testall^%mapitun
test1 ;Convert an Ascii string to UTF-8 Unicode.
Some Ascii characters:
??
Some Unicode characters:
????
test2 ;Convert UTF-8 Unicode string to Ascii
Some Ascii characters:
Some Unicode characters:
Segmentation fault
$
I also get a segmentation fault when trying to TYPE the routine:
...
testall ; Test all subroutines below.
new i,tag,line
for i=1:1 set tag="test"_i,line=$text(@tag) quit:line="" do
. write !,line,!
. do @tag
quit
Segmentation fault
$
Mike
Have not tested this on the Pi yet. That's planned in the April timeframe. Next version has been enhanced considerably and added to a new project. However, Segmentation faults are due to MUMPSV1 not responding to uncertain conditions properly. I'll check it out.
View and moderate all "Problems" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thanks Terry. Let me know if you need any help testing. My email is mike_clayton@hotmail.com if you want to contact me directly