mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Start using smaller buffers for stdout logging
This commit is contained in:
parent
2a164f2034
commit
39c3a25ad6
@ -184,8 +184,8 @@ void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
|
||||
#elif defined(_XBOX1)
|
||||
{
|
||||
/* FIXME: Using arbitrary string as fmt argument is unsafe. */
|
||||
char msg_new[1024];
|
||||
char buffer[1024];
|
||||
char msg_new[256];
|
||||
char buffer[256];
|
||||
|
||||
msg_new[0] = buffer[0] = '\0';
|
||||
snprintf(msg_new, sizeof(msg_new), "%s: %s %s",
|
||||
@ -221,7 +221,7 @@ void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)
|
||||
|
||||
{
|
||||
#if defined(HAVE_QT) || defined(__WINRT__)
|
||||
char buffer[1024];
|
||||
char buffer[256];
|
||||
#endif
|
||||
FILE *fp = (FILE*)retro_main_log_file();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user