diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-04-10 13:27:58 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-04-10 13:27:58 +0400 |
commit | acbc84739f32db9fbf821cbd08d54e7c0beb05b2 (patch) | |
tree | fec393c293aba5864450210d722b0b0d7556aa00 /winsup/cygwin | |
parent | 9794095354b761547fd78720c7631153dc138b3d (diff) |
* cygwin.din (wprintf): Remove.
(_wprintf): Ditto.
* syscalls.cc (wprintf): Ditto.
* include/cygwin/version.h: Add FIXME comment.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/cygwin/cygwin.din | 2 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 2 | ||||
-rw-r--r-- | winsup/cygwin/syscalls.cc | 15 |
4 files changed, 9 insertions, 17 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5070c7267..1875ede01 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2008-04-10 Corinna Vinschen <corinna@vinschen.de> + + * cygwin.din (wprintf): Remove. + (_wprintf): Ditto. + * syscalls.cc (wprintf): Ditto. + * include/cygwin/version.h: Add FIXME comment. + 2008-04-08 Corinna Vinschen <corinna@vinschen.de> * mount.cc (mount_info::from_fstab): Read user fstab files from diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index ee2e4bf4a..5e08b7159 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -1732,8 +1732,6 @@ wmemcmp NOSIGFE wmemcpy NOSIGFE wmemmove NOSIGFE wmemset NOSIGFE -wprintf SIGFE -_wprintf = wprintf SIGFE write SIGFE _write = write SIGFE writev SIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index 9bd809d0d..a4081d6ab 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -325,6 +325,8 @@ details. */ lremovexattr, fremovexattr. 181: Export cygwin_conv_path, cygwin_create_path, cygwin_conv_path_list. 182: Export lockf. + FIXME: Removed 12 year old and entirely wrong wprintf function at + this point. We need a working implementation soon. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 7ef3501a3..881b9d1eb 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -2729,21 +2729,6 @@ __assertfail () exit (99); } -/* FIXME: to do this right, maybe work out the usoft va_list machine - and use wsvprintfW instead? -*/ -extern "C" int -wprintf (const char *fmt, ...) -{ - va_list ap; - int ret; - - va_start (ap, fmt); - ret = vprintf (fmt, ap); - va_end (ap); - return ret; -} - extern "C" int vhangup () { |