~ubuntu-branches/ubuntu/trusty/globus-gss-assist/trusty

« back to all changes in this revision

Viewing changes to debian/patches/globus-gss-assist-format.patch

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2012-04-29 07:03:12 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20120429070312-vxpkcewt8lat0mwu
Tags: 8.5-1
* Update to Globus Toolkit 5.2.1
* Drop patches globus-gss-assist-doxygen.patch, globus-gss-assist-deps.patch
  and globus-gss-assist-format.patch (fixed upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -ur globus_gss_assist-8.1.orig/globus_i_gss_assist.h globus_gss_assist-8.1/globus_i_gss_assist.h
2
 
--- globus_gss_assist-8.1.orig/globus_i_gss_assist.h    2006-01-19 06:56:01.000000000 +0100
3
 
+++ globus_gss_assist-8.1/globus_i_gss_assist.h 2011-12-28 08:46:49.566990108 +0100
4
 
@@ -60,7 +60,7 @@
5
 
           char *                        _tmp_str_ = \
6
 
               globus_common_create_nstring _MESSAGE_; \
7
 
           globus_libc_fprintf(globus_i_gsi_gss_assist_debug_fstream, \
8
 
-                              _tmp_str_); \
9
 
+                              "%s", _tmp_str_); \
10
 
           globus_libc_free(_tmp_str_); \
11
 
         } \
12
 
     }
13
 
diff -ur globus_gss_assist-8.1.orig/tokens_f.c globus_gss_assist-8.1/tokens_f.c
14
 
--- globus_gss_assist-8.1.orig/tokens_f.c       2007-08-09 16:24:23.000000000 +0200
15
 
+++ globus_gss_assist-8.1/tokens_f.c    2011-12-28 08:53:11.418997004 +0100
16
 
@@ -120,7 +120,7 @@
17
 
         {
18
 
             GLOBUS_I_GSI_GSS_ASSIST_DEBUG_FPRINTF(
19
 
                 3, (globus_i_gsi_gss_assist_debug_fstream,
20
 
-                    _GASL("FAILED READING EXTRA BYTE\n")));
21
 
+                    "%s", _GASL("FAILED READING EXTRA BYTE\n")));
22
 
             return_value =  GLOBUS_GSS_ASSIST_TOKEN_EOF;
23
 
             goto exit;
24
 
         }
25
 
@@ -384,7 +384,7 @@
26
 
             
27
 
             GLOBUS_I_GSI_GSS_ASSIST_DEBUG_FPRINTF(
28
 
                 3, (globus_i_gsi_gss_assist_debug_fstream,
29
 
-                    _GASL("with 4 byte length")));
30
 
+                    "%s", _GASL("with 4 byte length")));
31
 
             
32
 
             if (fwrite(int_buf ,1 ,4 , fd) != 4)
33
 
             {