diff options
author | Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl> | 2004-11-18 05:20:23 +0000 |
---|---|---|
committer | Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl> | 2004-11-18 05:20:23 +0000 |
commit | d26eb2a13b286ce8ee81f8b27482e84d5816e0d6 (patch) | |
tree | 91cc725e1b8f7629b3d8f6acebfbee492e0d9e42 /winsup/utils | |
parent | 1f8f7e2d54364bd2993892adffb5c6435f53167d (diff) | |
download | newlib-d26eb2a13b286ce8ee81f8b27482e84d5816e0d6.zip newlib-d26eb2a13b286ce8ee81f8b27482e84d5816e0d6.tar.gz newlib-d26eb2a13b286ce8ee81f8b27482e84d5816e0d6.tar.bz2 |
* cygcheck.cc (eprintf): New function.
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/utils/cygcheck.cc | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c5e2157..d16a1b5 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -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 diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 35ac433..b196296 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -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 */ |