diffs.vms 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. --------------------------------------------------------------------------
  2. GLOBALS.C
  3. 105a106
  4. > int xmlDoValidityCheckingDefaultValue = 0;
  5. 111,121c112,113
  6. < #if defined(VMS) || defined(__VMS)
  7. < #define PLATFORM_VMS
  8. < /* int xmlDoValidityCheckingDefaultVal = 0;
  9. < * int xmlSubstituteEntitiesDefaultVal = 0;
  10. < */
  11. < #define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal
  12. < #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal
  13. < #else
  14. < int xmlDoValidityCheckingDefaultValue = 0;
  15. < int xmlSubstituteEntitiesDefaultValue = 0;
  16. < #endif
  17. ---
  18. > int xmlSubstituteEntitiesDefaultValue = 0;
  19. >
  20. 289,291d280
  21. < #ifdef PLATFORM_VMS
  22. < gs->xmlDoValidityCheckingDefaultVal = 0;
  23. < #else
  24. 293,294d281
  25. < #endif
  26. <
  27. 316,318d302
  28. < #ifdef PLATFORM_VMS
  29. < gs->xmlSubstituteEntitiesDefaultVal = 0;
  30. < #else
  31. 320d303
  32. < #endif
  33. 404,419c387,390
  34. < #ifdef PLATFORM_VMS
  35. < extern int xmlDoValidityCheckingDefaultVal;
  36. < #undef xmlDoValidityCheckingDefaultVal
  37. < int *
  38. < __xmlDoValidityCheckingDefVal(void) {
  39. < if (IS_MAIN_THREAD)
  40. < return (&xmlDoValidityCheckingDefaultVal);
  41. < else
  42. < return (&xmlGetGlobalState()->xmlDoValidityCheckingDefaultVal);
  43. < }
  44. < #define __xmlDoValidityCheckingDefaultValue __xmlDoValidityCheckingDefVal
  45. < #else
  46. < extern int xmlDoValidityCheckingDefaultValue;
  47. < #undef xmlDoValidityCheckingDefaultValue
  48. < int *
  49. < __xmlDoValidityCheckingDefaultValue(void) {
  50. ---
  51. > extern int xmlDoValidityCheckingDefaultValue;
  52. > #undef xmlDoValidityCheckingDefaultValue
  53. > int *
  54. > __xmlDoValidityCheckingDefaultValue(void) {
  55. 424,425c395
  56. < }
  57. < #endif
  58. ---
  59. > }
  60. 577,592c547,550
  61. < #ifdef PLATFORM_VMS
  62. < extern int xmlSubstituteEntitiesDefaultVal;
  63. < #undef xmlSubstituteEntitiesDefaultVal
  64. < int *
  65. < __xmlSubsEntitiesDefaultValue(void) {
  66. < if (IS_MAIN_THREAD)
  67. < return (&xmlSubstituteEntitiesDefaultVal);
  68. < else
  69. < return (&xmlGetGlobalState()->xmlSubstituteEntitiesDefaultVal);
  70. < }
  71. < #define __xmlSubstituteEntitiesDefaultValue __xmlSubsEntitiesDefaultValue
  72. < #else
  73. < extern int xmlSubstituteEntitiesDefaultValue;
  74. < #undef xmlSubstituteEntitiesDefaultValue
  75. < int *
  76. < __xmlSubstituteEntitiesDefaultValue(void) {
  77. ---
  78. > extern int xmlSubstituteEntitiesDefaultValue;
  79. > #undef xmlSubstituteEntitiesDefaultValue
  80. > int *
  81. > __xmlSubstituteEntitiesDefaultValue(void) {
  82. 597,598c555
  83. < }
  84. < #endif
  85. ---
  86. > }
  87. --------------------------------------------------------------------------
  88. TRIO.C
  89. 113,116d112
  90. < #if defined(VMS) || defined(__VMS)
  91. < # include <unistd.h>
  92. < #endif /* Platform is VMS */
  93. <
  94. 123d118
  95. <
  96. --------------------------------------------------------------------------
  97. GLOBALS.H
  98. 78,86c78,79
  99. < #if defined(VMS) || defined(__VMS)
  100. < int xmlSubstituteEntitiesDefaultVal; /* 31 character name limit */
  101. < int xmlDoValidityCheckingDefaultVal;
  102. < #define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal
  103. < #define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal
  104. < #else
  105. < int xmlSubstituteEntitiesDefaultValue;
  106. < int xmlDoValidityCheckingDefaultValue;
  107. < #endif
  108. ---
  109. > int xmlSubstituteEntitiesDefaultValue;
  110. > int xmlDoValidityCheckingDefaultValue;
  111. 211,226c204,209
  112. < #if defined(VMS) || defined(__VMS)
  113. < #ifdef LIBXML_THREAD_ENABLED
  114. < extern int *__xmlDoValidityCheckingDefaultVal(void);
  115. < #define xmlDoValidityCheckingDefaultVal \
  116. < (*(__xmlDoValidityCheckingDefaultVal()))
  117. < #else
  118. < LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultVal;
  119. < #endif
  120. < #else
  121. < #ifdef LIBXML_THREAD_ENABLED
  122. < extern int *__xmlDoValidityCheckingDefaultValue(void);
  123. < #define xmlDoValidityCheckingDefaultValue \
  124. < (*(__xmlDoValidityCheckingDefaultValue()))
  125. < #else
  126. < LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
  127. < #endif
  128. ---
  129. > #ifdef LIBXML_THREAD_ENABLED
  130. > extern int *__xmlDoValidityCheckingDefaultValue(void);
  131. > #define xmlDoValidityCheckingDefaultValue \
  132. > (*(__xmlDoValidityCheckingDefaultValue()))
  133. > #else
  134. > LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
  135. 317,332c300,305
  136. < #if defined(VMS) || defined(__VMS)
  137. < #ifdef LIBXML_THREAD_ENABLED
  138. < extern int *__xmlSubsEntitiesDefaultValue(void);
  139. < #define xmlSubsEntitiesDefaultValue \
  140. < (*(__xmlSubsEntitiesDefaultValue()))
  141. < #else
  142. < LIBXML_DLL_IMPORT extern int xmlSubsEntitiesDefaultValue;
  143. < #endif
  144. < #else
  145. < #ifdef LIBXML_THREAD_ENABLED
  146. < extern int *__xmlSubstituteEntitiesDefaultValue(void);
  147. < #define xmlSubstituteEntitiesDefaultValue \
  148. < (*(__xmlSubstituteEntitiesDefaultValue()))
  149. < #else
  150. < LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
  151. < #endif
  152. ---
  153. > #ifdef LIBXML_THREAD_ENABLED
  154. > extern int *__xmlSubstituteEntitiesDefaultValue(void);
  155. > #define xmlSubstituteEntitiesDefaultValue \
  156. > (*(__xmlSubstituteEntitiesDefaultValue()))
  157. > #else
  158. > LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
  159. --------------------------------------------------------------------------
  160. XMLIO.H
  161. 79,82d78
  162. < #if defined(VMS) || defined(__VMS)
  163. < void xmlRegisterDefInputCallbacks (void);
  164. < #define xmlRegisterDefaultInputCallbacks xmlRegisterDefInputCallbacks
  165. < #else
  166. 84d79
  167. < #endif
  168. 130,133d124
  169. < #if defined(VMS) || defined(__VMS)
  170. < void xmlRegisterDefOutputCallbacks(void);
  171. < #define xmlRegisterDefaultOutputCallbacks xmlRegisterDefOutputCallbacks
  172. < #else
  173. 135,136d125
  174. < #endif
  175. <
  176. --------------------------------------------------------------------------
  177. XPATHINTERNALS.H
  178. 433,436d432
  179. < #if defined(VMS) || defined(__VMS)
  180. < void xmlXPathRegisteredVarsCleanup(xmlXPathContextPtr ctxt);
  181. < #define xmlXPathRegisteredVariablesCleanup xmlXPathRegisteredVarsCleanup
  182. < #else
  183. 438d433
  184. < #endif