rzezeski/libMicro

The longjmp tests need to use volatile variables

Closed this issue · 1 comments

As states by the illumos setjmp(3C) page:

   The values of register and automatic variables are undefined. Register
   or automatic variables whose value must be relied upon must be declared
   as volatile.

Without volatile the test will infinitely loop.

Already fixed, I wrote this issue based on older source.