diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 11:39:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 11:39:41 +0200 |
commit | 966061fcb0e2ec4d5d7ed9c6c280eefb27209da7 (patch) | |
tree | 078246631fb864d9e908108d69917b18c6303c16 /cppe/src/IceE/SafeStdio.cpp | |
parent | Removed SL code (diff) | |
download | ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.tar.bz2 ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.tar.xz ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.zip |
Removed Ice-E
Diffstat (limited to 'cppe/src/IceE/SafeStdio.cpp')
-rw-r--r-- | cppe/src/IceE/SafeStdio.cpp | 33 |
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; -} - |