~ubuntu-branches/ubuntu/trusty/globus-gssapi-gsi/trusty

« back to all changes in this revision

Viewing changes to debian/patches/globus-gssapi-gsi-format.patch

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2011-12-27 15:18:29 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20111227151829-wtxfg8n50mup50fo
Tags: 10.2-1
* Update to Globus Toolkit 5.2.0
* Make doc package architecture independent

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ur globus_gssapi_gsi-10.2.orig/library/compare_name.c globus_gssapi_gsi-10.2/library/compare_name.c
 
2
--- globus_gssapi_gsi-10.2.orig/library/compare_name.c  2008-11-21 16:04:49.000000000 +0100
 
3
+++ globus_gssapi_gsi-10.2/library/compare_name.c       2011-12-27 20:58:34.447192918 +0100
 
4
@@ -273,10 +273,12 @@
 
5
     }
 
6
 
 
7
     GLOBUS_I_GSI_GSSAPI_DEBUG_PRINT(2, _GGSL("Comparing names:\n"));
 
8
-    GLOBUS_I_GSI_GSSAPI_DEBUG_PRINT(2, (_GGSL("Name 1 is of type %s:\n"),
 
9
-                                    gss_l_name_types[type1]));
 
10
-    GLOBUS_I_GSI_GSSAPI_DEBUG_PRINT(2, (_GGSL("Name 2 is of type %s:\n"),
 
11
-                                    gss_l_name_types[type2]));
 
12
+    GLOBUS_I_GSI_GSSAPI_DEBUG_FPRINTF(2, (globus_i_gsi_gssapi_debug_fstream,
 
13
+                                      _GGSL("Name 1 is of type %s:\n"),
 
14
+                                      gss_l_name_types[type1]));
 
15
+    GLOBUS_I_GSI_GSSAPI_DEBUG_FPRINTF(2, (globus_i_gsi_gssapi_debug_fstream,
 
16
+                                      _GGSL("Name 2 is of type %s:\n"),
 
17
+                                      gss_l_name_types[type2]));
 
18
 
 
19
     /* Normalize order of name1 and name2 so we can have fewer comparisons 
 
20
      * below
 
21
diff -ur globus_gssapi_gsi-10.2.orig/library/globus_i_gsi_gss_utils.h globus_gssapi_gsi-10.2/library/globus_i_gsi_gss_utils.h
 
22
--- globus_gssapi_gsi-10.2.orig/library/globus_i_gsi_gss_utils.h        2011-11-02 14:47:22.000000000 +0100
 
23
+++ globus_gssapi_gsi-10.2/library/globus_i_gsi_gss_utils.h     2011-12-27 20:30:31.199300457 +0100
 
24
@@ -159,7 +159,7 @@
 
25
            char *                       _tmp_str_ = \
 
26
                globus_common_create_nstring _MESSAGE_; \
 
27
            globus_libc_fprintf(globus_i_gsi_gssapi_debug_fstream, \
 
28
-                               _tmp_str_); \
 
29
+                               "%s", _tmp_str_); \
 
30
            globus_libc_free(_tmp_str_); \
 
31
         } \
 
32
 }
 
33
@@ -170,7 +170,7 @@
 
34
     {                                                       \
 
35
         globus_libc_fprintf(                                \
 
36
             globus_i_gsi_gssapi_debug_fstream,              \
 
37
-            _MESSAGE_);                                     \
 
38
+            "%s", _MESSAGE_);                               \
 
39
     }                                                       \
 
40
 }
 
41