/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/option.c,v 1.7 1990/11/28 20:32:51 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/option.c,v 1.8 1990/12/01 00:06:43 cph Rel $
Copyright (c) 1990 Massachusetts Institute of Technology
xfree (path);
}
\f
-static CONST char *
+CONST char *
DEFUN (search_path_for_file, (option, filename, default_p),
CONST char * option AND
CONST char * filename AND
CONST char * fullname;
if (directory == 0)
{
- fprintf (stderr, "%s: can't find readable %s for %s option.\n",
- scheme_program_name,
- (default_p ? "default" : "file"),
- option);
+ fprintf (stderr, "%s: can't find readable %s",
+ scheme_program_name, (default_p ? "default" : "file"));
+ if (option != 0)
+ fprintf (stderr, " for %s option", option);
+ fprintf (stderr, ".\n");
fprintf (stderr, " searched for file %s in these directories:\n",
filename);
if (!default_p)
/* -*-C-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/option.h,v 1.1 1990/11/13 08:46:44 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/option.h,v 1.2 1990/12/01 00:06:31 cph Rel $
Copyright (c) 1990 Massachusetts Institute of Technology
extern unsigned int option_stack_size;
extern void EXFUN (read_command_line_options, (int argc, CONST char ** argv));
+extern CONST char * EXFUN
+ (search_path_for_file,
+ (CONST char * option, CONST char * filename, int default_p));
#endif /* SCM_OPTION_H */