예제 #1
0
파일: inp.c 프로젝트: Hooman3/minix
void
scan_input(const char *filename)
{
	if (!plan_a(filename))
		plan_b(filename);
	if (verbose) {
		say("Patching file %s using Plan %s...\n", filename,
		    (using_plan_a ? "A" : "B"));
	}
}
예제 #2
0
void
	scan_input (char *filename)
{
	using_plan_a = ! (debug & 16) && plan_a (filename);
	if (!using_plan_a)
		plan_b(filename);

	if (verbosity != SILENT)
	{
		filename = quotearg (filename);

		if (verbosity == VERBOSE)
			say ("Patching file %s using Plan %s...\n",
			filename, using_plan_a ? "A" : "B");
		else
			say ("patching file %s\n", filename);
	}
}