summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/SafeStdio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/SafeStdio.cpp')
-rw-r--r--cppe/src/IceE/SafeStdio.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/cppe/src/IceE/SafeStdio.cpp b/cppe/src/IceE/SafeStdio.cpp
deleted file mode 100644
index b4bfc96e6cf..00000000000
--- a/cppe/src/IceE/SafeStdio.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice-E is licensed to you under the terms described in the
-// ICEE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <IceE/DisableWarnings.h>
-#include <IceE/SafeStdio.h>
-#include <stdarg.h>
-#include <stdio.h>
-
-using namespace std;
-
-string
-Ice::printfToString(const char* fmt, ...)
-{
- va_list ap;
- va_start(ap, fmt);
- char buf[1024];
-#if defined(_WIN32)
- _vsnprintf(buf, sizeof(buf)-1, fmt, ap);
-#else
- vsnprintf(buf, sizeof(buf)-1, fmt, ap);
-#endif
- buf[sizeof(buf)-1] = '\0';
- va_end(ap);
-
- return buf;
-}
-