Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37535721
en ru br
ALT Linux repositórios
S:3.4-alt3
5.0: 2.1-alt1

Group :: Emuladores
RPM: vice

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: vice-2.1-fix-str-fmt.patch
Download


--- po/intl2po.c.orig	2008-11-10 16:55:40.000000000 +0100
+++ po/intl2po.c	2009-01-17 21:57:25.000000000 +0100
@@ -341,7 +341,7 @@
       case FOUND_DIALOG:
         if (status!=SCANNING)
         {
-          printf(line_buffer);
+          printf("%s", line_buffer);
           wrong_location("DIALOG",infile,outfile,in_filename);
           return 0;
         }
--- src/arch/unix/gui/vsidui.c.orig	2008-12-07 20:09:20.000000000 +0100
+++ src/arch/unix/gui/vsidui.c	2009-01-17 22:16:40.000000000 +0100
@@ -504,7 +504,7 @@
     char buf[50];
     sprintf(buf, "Using %s sync",
 	    sync == MACHINE_SYNC_PAL ? "PAL" : "NTSC");
-    log_message(LOG_DEFAULT, buf);
+    log_message("%s", LOG_DEFAULT, buf);
     ui_vsid_setsync(buf);
 }
 
--- src/arch/unix/archdep.c.orig	2008-10-11 20:20:59.000000000 +0200
+++ src/arch/unix/archdep.c	2009-01-17 23:09:39.000000000 +0100
@@ -322,7 +322,7 @@
 
 int archdep_default_logger(const char *level_string, const char *txt) {
     if (fputs(level_string, stdout) == EOF
-        || fprintf(stdout, txt) < 0
+        || fprintf("%s", stdout, txt) < 0
         || fputc ('\n', stdout) == EOF)
         return -1;
     return 0;
--- src/sound.c.orig	2008-10-25 21:36:04.000000000 +0200
+++ src/sound.c	2009-01-17 23:18:00.000000000 +0100
@@ -445,7 +445,7 @@
     sound_close();
 
     if (console_mode || vsid_mode) {
-        log_message(sound_log, msg);
+        log_message("%s", sound_log, msg);
     } else {
         char *txt = lib_msprintf("Sound: %s", msg);
         ui_error(txt);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009