Branch: Tag:

2014-09-08

2014-09-08 16:17:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

IOBuffer: Fixed compilation error --with-rtldebug.

362:       static void io_unset_rewind_on_error( IOBuffer *io, ONERROR *x )    { +  struct rewind_to *rew = x->arg; +     UNSET_ONERROR( (*x) );    io->locked_move--;   #if defined(PIKE_DEBUG) -  if( io->locked_move != ((struct rewind*)x)->old_locked_mode ) +  if( io->locked_move != rew->old_locked_move )    Pike_fatal( "Invalid io_rewind_on_error nesting\n");   #endif -  free( x->arg ); +  +  free( rew );    }