Opening of directories works properly.

This commit is contained in:
David F. Skoll
2008-03-24 13:16:28 -04:00
parent 3897973bc1
commit 26f0acab35
6 changed files with 15 additions and 13 deletions

View File

@@ -190,7 +190,7 @@ EXTERN char *ErrMsg[]
"Too many partial OMITs",
"Too many full OMITs",
"Warning: PUSH-OMIT-CONTEXT without matching POP-OMIT-CONTEXT",
"Error reading file",
"Error reading",
"Expecting end-of-line",
"Invalid Hebrew date",
"IIF needs odd number of arguments",
@@ -232,7 +232,7 @@ EXTERN char *ErrMsg[]
"Expecting number",
"Bad function in WARN clause",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
}
#endif /* MK_GLOBALS */
;

View File

@@ -599,9 +599,10 @@ int IncludeFile(char const *fname)
if (SetupGlobChain(fname, i) == OK) { /* Glob succeeded */
if (!i->chain) { /* Oops... no matching files */
if (!Hush) {
Eprint(ErrMsg[E_NO_MATCHING_REMS], fname);
Eprint("%s: %s", fname, ErrMsg[E_NO_MATCHING_REMS]);
}
return PopFile();
PopFile();
return E_NO_MATCHING_REMS;
}
while(i->chain) {
fc = i->chain;
@@ -619,9 +620,10 @@ int IncludeFile(char const *fname)
return PopFile();
} else {
if (!Hush) {
Eprint(ErrMsg[E_NO_MATCHING_REMS], fname);
Eprint("%s: %s", fname, ErrMsg[E_NO_MATCHING_REMS]);
}
}
return E_NO_MATCHING_REMS;
}
}
#endif

View File

@@ -308,7 +308,7 @@ EXTERN char *ErrMsg[] =
"Numero puuttuu",
"Virheellinen funktio WARN-lausekkeessa",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#elif IBMEXTENDED
"Ok",
@@ -411,7 +411,7 @@ EXTERN char *ErrMsg[] =
"Numero puuttuu"
"Virheellinen funktio WARN-lausekkeessa",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#else
"Ok",
"Puuttuva ']'",
@@ -513,7 +513,7 @@ EXTERN char *ErrMsg[] =
"Numero puuttuu",
"Virheellinen funktio WARN-lausekkeessa",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#endif
};

View File

@@ -245,7 +245,7 @@ EXTERN char *ErrMsg[] =
"Nombre attendu",
"Fonction ill\351gale apr\350s WARN",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#else /* ISOLATIN1 */
"Ok",
"']' manquant",
@@ -347,7 +347,7 @@ EXTERN char *ErrMsg[] =
"Nombre attendu",
"Fonction illegale apres WARN",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#endif /* ISOLATIN1 */
};
#endif /* MK_GLOBALS */

View File

@@ -280,7 +280,7 @@ EXTERN char *ErrMsg[] =
"Spodziewana liczba",
"Illegal function in WARN clause (NEEDS TRANSLATION TO POLISH)",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#else /* ISOLATIN1 */
"OK",
"Brakujacy ']'",
@@ -382,7 +382,7 @@ EXTERN char *ErrMsg[] =
"Spodziewana liczba",
"Illegal function in WARN clause (NEEDS TRANSLATION TO POLISH)",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
#endif /* ISOLATIN1 */
};
#endif /* MK_GLOBALS */

View File

@@ -246,7 +246,7 @@ EXTERN char *ErrMsg[] =
"Esperando numero",
"Funcao ilegal na clausula WARN",
"Can't convert between time zones",
"No files matching *.rem found in directory %s"
"No files matching *.rem"
};
#endif /* MK_GLOBALS */