Mercurial > audlegacy-plugins
changeset 1159:a03aec49af4d trunk
[svn] Replace sprintf with snprintf.
author | js |
---|---|
date | Sun, 03 Jun 2007 07:16:44 -0700 |
parents | 382545522a14 |
children | 98a760301a4e |
files | ChangeLog src/wavpack/tags.cxx |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Jun 01 16:03:58 2007 -0700 +++ b/ChangeLog Sun Jun 03 07:16:44 2007 -0700 @@ -1,3 +1,11 @@ +2007-06-01 23:03:58 +0000 Jonathan Schleifer <js@h3c.de> + revision [2482] + Revert r2480, thanks to FreeBSD. + + trunk/mk/objective.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-06-01 22:48:43 +0000 Jonathan Schleifer <js@h3c.de> revision [2480] Same as r4658 in Audacious.
--- a/src/wavpack/tags.cxx Fri Jun 01 16:03:58 2007 -0700 +++ b/src/wavpack/tags.cxx Sun Jun 03 07:16:44 2007 -0700 @@ -383,7 +383,7 @@ if (fp == NULL) { char text[256]; - sprintf(text, "File \"%s\" not found or is read protected!\n", + snprintf(text, 256, "File \"%s\" not found or is read protected!\n", filename); xmms_show_message("File-Error", (gchar *) text, "Ok", FALSE, NULL, NULL);