Mercurial > hg > octave-avbm
comparison src/toplev.cc @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | 4ced6b90fffb |
comparison
equal
deleted
inserted
replaced
11585:1473d0cf86d2 | 11586:12df7854fa7c |
---|---|
603 } | 603 } |
604 } | 604 } |
605 else | 605 else |
606 { | 606 { |
607 if (octave_completion_matches_called) | 607 if (octave_completion_matches_called) |
608 octave_completion_matches_called = false; | 608 octave_completion_matches_called = false; |
609 else | 609 else |
610 command_editor::increment_current_command_number (); | 610 command_editor::increment_current_command_number (); |
611 } | 611 } |
612 } | 612 } |
613 else if (parser_end_of_input) | 613 else if (parser_end_of_input) |
799 if (! cmd->eof () && errno == EAGAIN) | 799 if (! cmd->eof () && errno == EAGAIN) |
800 { | 800 { |
801 cmd->clear (); | 801 cmd->clear (); |
802 | 802 |
803 if (wait_for_input (fid) != 1) | 803 if (wait_for_input (fid) != 1) |
804 break; | 804 break; |
805 } | 805 } |
806 else | 806 else |
807 break; | 807 break; |
808 } | 808 } |
809 } | 809 } |
937 { | 937 { |
938 // FIXME -- maybe this should go in sysdep.cc? | 938 // FIXME -- maybe this should go in sysdep.cc? |
939 #ifdef HAVE_FORK | 939 #ifdef HAVE_FORK |
940 pid_t pid = fork (); | 940 pid_t pid = fork (); |
941 | 941 |
942 if (pid < 0) | 942 if (pid < 0) |
943 error ("system: fork failed -- can't create child process"); | 943 error ("system: fork failed -- can't create child process"); |
944 else if (pid == 0) | 944 else if (pid == 0) |
945 { | 945 { |
946 // FIXME -- should probably replace this | 946 // FIXME -- should probably replace this |
947 // call with something portable. | 947 // call with something portable. |