comparison src/help.cc @ 2692:25fbbe6074e9

[project @ 1997-02-18 09:49:11 by jwe]
author jwe
date Tue, 18 Feb 1997 09:49:12 +0000
parents f7e3d23f0a8f
children 13f134a00f12
comparison
equal deleted inserted replaced
2691:3dda19091c08 2692:25fbbe6074e9
558 status = system (cmd_str); 558 status = system (cmd_str);
559 559
560 octave_set_interrupt_handler (old_interrupt_handler); 560 octave_set_interrupt_handler (old_interrupt_handler);
561 561
562 if ((status & 0xff) == 0) 562 if ((status & 0xff) == 0)
563 status = (signed char) ((status & 0xff00) >> 8); 563 status = (status >> 8) & 0xff;
564 else 564 else
565 status = 127; 565 status = 127;
566 566
567 return status; 567 return status;
568 } 568 }