diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | mpiosh/mpiosh.c | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,5 +1,8 @@ 2002-09-19 Andreas Buesching <crunchy@tzi.de> + * mpiosh/mpiosh.c (mpiosh_command_regex_fix): hopefully fixed a + bug (Sorry Markus) + * mpiosh/callback.c (mpiosh_cmd_mput): using new error handling functions diff --git a/mpiosh/mpiosh.c b/mpiosh/mpiosh.c index aa4ff2d..83c45fb 100644 --- a/mpiosh/mpiosh.c +++ b/mpiosh/mpiosh.c @@ -2,7 +2,7 @@ /* * - * $Id: mpiosh.c,v 1.14 2002/09/18 22:18:29 germeier Exp $ + * $Id: mpiosh.c,v 1.15 2002/09/19 21:02:45 crunchy Exp $ * * Author: Andreas Büsching <crunchy@tzi.de> * @@ -256,13 +256,13 @@ mpiosh_command_regex_fix(char *argv[]) new_pos = buffer; *new_pos++ = '^'; while (*help != '\0') { - if (*help == '*' && ((help = *walk) || (*(help - 1) != '.'))) { + if (*help == '*' && ((help == *walk) || (*(help - 1) != '.'))) { *new_pos++ = '.'; *new_pos = *help; } else if ((*help == '.') && (*help != '*')) { *new_pos++ = '\\'; *new_pos = *help; - } else if (*help == '?' && ((help = *walk) || (*(help - 1) != '\\'))) { + } else if (*help == '?' && ((help == *walk) || (*(help - 1) != '\\'))) { *new_pos = '.'; } else { *new_pos = *help; |