* cygcheck.cc (eprintf): New function.

This commit is contained in:
Bas van Gompel 2004-11-18 05:20:23 +00:00
parent 1f8f7e2d54
commit d26eb2a13b
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-11-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* cygcheck.cc (eprintf): New function.
2004-11-16 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* cygcheck.cc (find_on_path): Clear show_error and/or print_failed

View File

@ -98,6 +98,15 @@ static common_apps[] = {
static int num_paths = 0, max_paths = 0;
static char **paths = 0;
void
eprintf (const char *format, ...)
{
va_list ap;
va_start (ap, format);
vfprintf (stderr, format, ap);
va_end (ap);
}
/*
* display_error() is used to report failure modes
*/