Mesa (master): mesa: Call _mesa_snprintf instead of snprintf.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Mon Apr 27 12:10:06 UTC 2009
Module: Mesa
Branch: master
Commit: 99b77d05d2e8c4af5f7d752d6827c21fd6c4d5ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=99b77d05d2e8c4af5f7d752d6827c21fd6c4d5ee
Author: José Fonseca <jfonseca at vmware.com>
Date: Mon Apr 27 13:09:58 2009 +0100
mesa: Call _mesa_snprintf instead of snprintf.
snprintf not directly available on Windows.
---
src/mesa/main/imports.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 8797f36..615f7c9 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -1137,7 +1137,7 @@ _mesa_error( GLcontext *ctx, GLenum error, const char *fmtString, ... )
vsnprintf(s, MAXSTRING, fmtString, args);
va_end(args);
- snprintf(s2, MAXSTRING, "%s in %s", errstr, s);
+ _mesa_snprintf(s2, MAXSTRING, "%s in %s", errstr, s);
output_if_debug("Mesa: User error", s2, GL_TRUE);
}
}
More information about the mesa-commit
mailing list