cego.patch 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. Index: cego-2.7.9/Makefile.in
  2. --- cego-2.7.9/Makefile.in.orig 2010-08-21 15:57:58.000000000 +0200
  3. +++ cego-2.7.9/Makefile.in 2010-09-09 09:48:17.000000000 +0200
  4. @@ -35,8 +35,6 @@
  5. all:
  6. ( cd src; make all )
  7. - ( cd samples/cgwtest; make all )
  8. - ( cd samples/cgplustest; make all )
  9. install:
  10. ( cd src; make install )
  11. Index: cego-2.7.9/src/CegoAdminThreadPool.cc
  12. --- cego-2.7.9/src/CegoAdminThreadPool.cc.orig 2010-09-07 23:18:42.000000000 +0200
  13. +++ cego-2.7.9/src/CegoAdminThreadPool.cc 2010-09-09 09:48:17.000000000 +0200
  14. @@ -33,6 +33,7 @@
  15. //
  16. ///////////////////////////////////////////////////////////////////////////////
  17. +#include <stdlib.h>
  18. #include "CegoAdminThreadPool.h"
  19. #include <lfc/Sleeper.h>
  20. Index: cego-2.7.9/src/CegoAggregation.cc
  21. --- cego-2.7.9/src/CegoAggregation.cc.orig 2010-07-02 14:28:35.000000000 +0200
  22. +++ cego-2.7.9/src/CegoAggregation.cc 2010-09-09 09:48:17.000000000 +0200
  23. @@ -34,6 +34,7 @@
  24. ///////////////////////////////////////////////////////////////////////////////
  25. // INCLUDES
  26. +#include <string.h>
  27. #include "CegoAggregation.h"
  28. #include "CegoFactor.h"
  29. #include "CegoXMLdef.h"
  30. Index: cego-2.7.9/src/CegoAttrDesc.cc
  31. --- cego-2.7.9/src/CegoAttrDesc.cc.orig 2010-07-02 14:30:52.000000000 +0200
  32. +++ cego-2.7.9/src/CegoAttrDesc.cc 2010-09-09 09:48:17.000000000 +0200
  33. @@ -33,6 +33,7 @@
  34. //
  35. ///////////////////////////////////////////////////////////////////////////////
  36. +#include <string.h>
  37. #include "CegoAttrDesc.h"
  38. #include "CegoXMLdef.h"
  39. Index: cego-2.7.9/src/CegoBlob.cc
  40. --- cego-2.7.9/src/CegoBlob.cc.orig 2010-09-07 23:20:28.000000000 +0200
  41. +++ cego-2.7.9/src/CegoBlob.cc 2010-09-09 09:48:17.000000000 +0200
  42. @@ -33,6 +33,8 @@
  43. //
  44. ///////////////////////////////////////////////////////////////////////////////
  45. +#include <stdlib.h>
  46. +#include <string.h>
  47. #include "CegoBlob.h"
  48. #include <lfc/Exception.h>
  49. Index: cego-2.7.9/src/CegoBufferPage.cc
  50. --- cego-2.7.9/src/CegoBufferPage.cc.orig 2010-09-07 23:20:45.000000000 +0200
  51. +++ cego-2.7.9/src/CegoBufferPage.cc 2010-09-09 12:00:11.000000000 +0200
  52. @@ -33,6 +33,7 @@
  53. //
  54. ///////////////////////////////////////////////////////////////////////////////
  55. +#include <string.h>
  56. #include <lfc/Exception.h>
  57. #include "CegoDefs.h"
  58. Index: cego-2.7.9/src/CegoBufferPool.cc
  59. --- cego-2.7.9/src/CegoBufferPool.cc.orig 2010-09-07 23:21:15.000000000 +0200
  60. +++ cego-2.7.9/src/CegoBufferPool.cc 2010-09-09 12:00:25.000000000 +0200
  61. @@ -33,6 +33,8 @@
  62. //
  63. ///////////////////////////////////////////////////////////////////////////////
  64. +#include <stdlib.h>
  65. +#include <string.h>
  66. #include <lfc/Exception.h>
  67. #include <lfc/CommandExecuter.h>
  68. #include <lfc/Datetime.h>
  69. Index: cego-2.7.9/src/CegoCheckObject.cc
  70. --- cego-2.7.9/src/CegoCheckObject.cc.orig 2010-07-02 14:36:19.000000000 +0200
  71. +++ cego-2.7.9/src/CegoCheckObject.cc 2010-09-09 09:48:17.000000000 +0200
  72. @@ -33,6 +33,7 @@
  73. //
  74. ///////////////////////////////////////////////////////////////////////////////
  75. +#include <string.h>
  76. #include "CegoCheckObject.h"
  77. #include "CegoXMLdef.h"
  78. #include "CegoXMLHelper.h"
  79. Index: cego-2.7.9/src/CegoClient.cc
  80. --- cego-2.7.9/src/CegoClient.cc.orig 2010-09-07 23:48:43.000000000 +0200
  81. +++ cego-2.7.9/src/CegoClient.cc 2010-09-09 09:48:17.000000000 +0200
  82. @@ -33,6 +33,7 @@
  83. //
  84. ///////////////////////////////////////////////////////////////////////////////
  85. +#include <signal.h>
  86. #include <locale.h>
  87. #include <stdlib.h>
  88. #include <stdio.h>
  89. Index: cego-2.7.9/src/CegoCondDesc.cc
  90. --- cego-2.7.9/src/CegoCondDesc.cc.orig 2010-07-02 14:37:41.000000000 +0200
  91. +++ cego-2.7.9/src/CegoCondDesc.cc 2010-09-09 09:48:17.000000000 +0200
  92. @@ -33,6 +33,7 @@
  93. //
  94. ///////////////////////////////////////////////////////////////////////////////
  95. +#include <string.h>
  96. #include "CegoCondDesc.h"
  97. #include "CegoXMLdef.h"
  98. Index: cego-2.7.9/src/CegoContentObject.cc
  99. --- cego-2.7.9/src/CegoContentObject.cc.orig 2010-07-02 14:42:29.000000000 +0200
  100. +++ cego-2.7.9/src/CegoContentObject.cc 2010-09-09 09:48:17.000000000 +0200
  101. @@ -34,6 +34,8 @@
  102. //
  103. ///////////////////////////////////////////////////////////////////////////////
  104. +#include <stdlib.h>
  105. +#include <string.h>
  106. #include "CegoContentObject.h"
  107. #include "CegoTypeConverter.h"
  108. Index: cego-2.7.9/src/CegoDataPointer.cc
  109. --- cego-2.7.9/src/CegoDataPointer.cc.orig 2010-07-02 14:43:06.000000000 +0200
  110. +++ cego-2.7.9/src/CegoDataPointer.cc 2010-09-09 09:48:17.000000000 +0200
  111. @@ -33,6 +33,7 @@
  112. //
  113. ///////////////////////////////////////////////////////////////////////////////
  114. +#include <string.h>
  115. #include "CegoDataPointer.h"
  116. CegoDataPointer::CegoDataPointer()
  117. Index: cego-2.7.9/src/CegoDbHandler.cc
  118. --- cego-2.7.9/src/CegoDbHandler.cc.orig 2010-09-07 23:24:45.000000000 +0200
  119. +++ cego-2.7.9/src/CegoDbHandler.cc 2010-09-09 12:00:45.000000000 +0200
  120. @@ -33,6 +33,8 @@
  121. //
  122. ///////////////////////////////////////////////////////////////////////////////
  123. +#include <stdlib.h>
  124. +#include <string.h>
  125. #include <lfc/AESCrypt.h>
  126. #include <lfc/Datetime.h>
  127. Index: cego-2.7.9/src/CegoDbThread.cc
  128. --- cego-2.7.9/src/CegoDbThread.cc.orig 2010-09-07 23:24:11.000000000 +0200
  129. +++ cego-2.7.9/src/CegoDbThread.cc 2010-09-09 12:00:59.000000000 +0200
  130. @@ -39,6 +39,7 @@
  131. ///////////////////////////////////////////////////////////////////////////////
  132. // INCLUDES
  133. +#include <string.h>
  134. #include <lfc/Exception.h>
  135. #include <lfc/Sleeper.h>
  136. Index: cego-2.7.9/src/CegoDbThreadPool.cc
  137. --- cego-2.7.9/src/CegoDbThreadPool.cc.orig 2010-09-07 23:23:50.000000000 +0200
  138. +++ cego-2.7.9/src/CegoDbThreadPool.cc 2010-09-09 12:01:13.000000000 +0200
  139. @@ -33,6 +33,7 @@
  140. //
  141. ///////////////////////////////////////////////////////////////////////////////
  142. +#include <stdlib.h>
  143. #include <lfc/Exception.h>
  144. #include <lfc/Host.h>
  145. #include <lfc/NetHandler.h>
  146. Index: cego-2.7.9/src/CegoDefs.h
  147. --- cego-2.7.9/src/CegoDefs.h.orig 2010-09-07 23:10:18.000000000 +0200
  148. +++ cego-2.7.9/src/CegoDefs.h 2010-09-09 09:48:17.000000000 +0200
  149. @@ -35,6 +35,9 @@
  150. //
  151. ///////////////////////////////////////////////////////////////////////////////
  152. +#include <stdlib.h>
  153. +#include <string.h>
  154. +
  155. #ifdef HAVE_MINGW32
  156. #include <windows.h>
  157. #endif
  158. Index: cego-2.7.9/src/CegoDistManager.cc
  159. --- cego-2.7.9/src/CegoDistManager.cc.orig 2010-09-07 23:25:38.000000000 +0200
  160. +++ cego-2.7.9/src/CegoDistManager.cc 2010-09-09 09:48:17.000000000 +0200
  161. @@ -33,6 +33,9 @@
  162. //
  163. ///////////////////////////////////////////////////////////////////////////////
  164. +#include <stdlib.h>
  165. +#include <string.h>
  166. +
  167. #include "CegoDistManager.h"
  168. #include <lfc/Exception.h>
  169. Index: cego-2.7.9/src/CegoExpOutStream.cc
  170. --- cego-2.7.9/src/CegoExpOutStream.cc.orig 2010-09-07 23:27:23.000000000 +0200
  171. +++ cego-2.7.9/src/CegoExpOutStream.cc 2010-09-09 09:48:17.000000000 +0200
  172. @@ -33,6 +33,9 @@
  173. //
  174. ///////////////////////////////////////////////////////////////////////////////
  175. +#include <stdlib.h>
  176. +#include <string.h>
  177. +
  178. // base includes
  179. #include <lfc/Base64Coder.h>
  180. Index: cego-2.7.9/src/CegoExpr.cc
  181. --- cego-2.7.9/src/CegoExpr.cc.orig 2010-07-02 15:09:45.000000000 +0200
  182. +++ cego-2.7.9/src/CegoExpr.cc 2010-09-09 09:48:17.000000000 +0200
  183. @@ -33,6 +33,9 @@
  184. //
  185. ///////////////////////////////////////////////////////////////////////////////
  186. +#include <stdlib.h>
  187. +#include <string.h>
  188. +
  189. #include "CegoExpr.h"
  190. #include "CegoXMLdef.h"
  191. Index: cego-2.7.9/src/CegoFactor.cc
  192. --- cego-2.7.9/src/CegoFactor.cc.orig 2010-09-07 23:27:43.000000000 +0200
  193. +++ cego-2.7.9/src/CegoFactor.cc 2010-09-09 09:48:17.000000000 +0200
  194. @@ -33,6 +33,9 @@
  195. //
  196. ///////////////////////////////////////////////////////////////////////////////
  197. +#include <stdlib.h>
  198. +#include <string.h>
  199. +
  200. // INCLUDES
  201. #include <lfc/Exception.h>
  202. Index: cego-2.7.9/src/CegoFieldValue.cc
  203. --- cego-2.7.9/src/CegoFieldValue.cc.orig 2010-09-07 23:28:20.000000000 +0200
  204. +++ cego-2.7.9/src/CegoFieldValue.cc 2010-09-09 09:48:17.000000000 +0200
  205. @@ -33,6 +33,9 @@
  206. //
  207. ///////////////////////////////////////////////////////////////////////////////
  208. +#include <stdlib.h>
  209. +#include <string.h>
  210. +
  211. #include "CegoFieldValue.h"
  212. #include <lfc/Exception.h>
  213. Index: cego-2.7.9/src/CegoFunction.cc
  214. --- cego-2.7.9/src/CegoFunction.cc.orig 2010-09-07 23:29:03.000000000 +0200
  215. +++ cego-2.7.9/src/CegoFunction.cc 2010-09-09 12:01:29.000000000 +0200
  216. @@ -33,6 +33,8 @@
  217. //
  218. ///////////////////////////////////////////////////////////////////////////////
  219. +#include <stdlib.h>
  220. +#include <string.h>
  221. #include <lfc/Datetime.h>
  222. #include <lfc/Tokenizer.h>
  223. Index: cego-2.7.9/src/CegoGroupEntry.cc
  224. --- cego-2.7.9/src/CegoGroupEntry.cc.orig 2010-09-07 23:29:22.000000000 +0200
  225. +++ cego-2.7.9/src/CegoGroupEntry.cc 2010-09-09 09:48:17.000000000 +0200
  226. @@ -33,6 +33,9 @@
  227. //
  228. ///////////////////////////////////////////////////////////////////////////////
  229. +#include <stdlib.h>
  230. +#include <string.h>
  231. +
  232. // base includes
  233. #include <lfc/Exception.h>
  234. Index: cego-2.7.9/src/CegoGroupSpace.cc
  235. --- cego-2.7.9/src/CegoGroupSpace.cc.orig 2010-09-07 23:29:39.000000000 +0200
  236. +++ cego-2.7.9/src/CegoGroupSpace.cc 2010-09-09 09:48:17.000000000 +0200
  237. @@ -33,6 +33,9 @@
  238. //
  239. ///////////////////////////////////////////////////////////////////////////////
  240. +#include <stdlib.h>
  241. +#include <string.h>
  242. +
  243. // base includes
  244. #include <lfc/Exception.h>
  245. Index: cego-2.7.9/src/CegoImpInStream.cc
  246. --- cego-2.7.9/src/CegoImpInStream.cc.orig 2010-09-07 23:29:55.000000000 +0200
  247. +++ cego-2.7.9/src/CegoImpInStream.cc 2010-09-09 09:48:17.000000000 +0200
  248. @@ -33,6 +33,9 @@
  249. //
  250. ///////////////////////////////////////////////////////////////////////////////
  251. +#include <stdlib.h>
  252. +#include <string.h>
  253. +
  254. // base includes
  255. #include <lfc/Base64Coder.h>
  256. Index: cego-2.7.9/src/CegoIndexCursor.cc
  257. --- cego-2.7.9/src/CegoIndexCursor.cc.orig 2010-07-02 15:33:44.000000000 +0200
  258. +++ cego-2.7.9/src/CegoIndexCursor.cc 2010-09-09 09:48:17.000000000 +0200
  259. @@ -34,6 +34,9 @@
  260. //
  261. ///////////////////////////////////////////////////////////////////////////////
  262. +#include <stdlib.h>
  263. +#include <string.h>
  264. +
  265. // cego includes
  266. #include "CegoIndexCursor.h"
  267. #include "CegoTupleState.h"
  268. Index: cego-2.7.9/src/CegoIndexEntry.cc
  269. --- cego-2.7.9/src/CegoIndexEntry.cc.orig 2010-09-07 23:30:39.000000000 +0200
  270. +++ cego-2.7.9/src/CegoIndexEntry.cc 2010-09-09 09:48:17.000000000 +0200
  271. @@ -33,6 +33,9 @@
  272. //
  273. ///////////////////////////////////////////////////////////////////////////////
  274. +#include <stdlib.h>
  275. +#include <string.h>
  276. +
  277. // base includes
  278. #include <lfc/Exception.h>
  279. Index: cego-2.7.9/src/CegoIndexManager.cc
  280. --- cego-2.7.9/src/CegoIndexManager.cc.orig 2010-09-07 23:30:56.000000000 +0200
  281. +++ cego-2.7.9/src/CegoIndexManager.cc 2010-09-09 09:48:17.000000000 +0200
  282. @@ -33,6 +33,9 @@
  283. //
  284. ///////////////////////////////////////////////////////////////////////////////
  285. +#include <stdlib.h>
  286. +#include <string.h>
  287. +
  288. // base includes
  289. #include <lfc/Exception.h>
  290. Index: cego-2.7.9/src/CegoJoinObject.cc
  291. --- cego-2.7.9/src/CegoJoinObject.cc.orig 2010-09-07 23:31:17.000000000 +0200
  292. +++ cego-2.7.9/src/CegoJoinObject.cc 2010-09-09 09:48:17.000000000 +0200
  293. @@ -33,6 +33,9 @@
  294. //
  295. ///////////////////////////////////////////////////////////////////////////////
  296. +#include <stdlib.h>
  297. +#include <string.h>
  298. +
  299. // base includes
  300. #include <lfc/Tokenizer.h>
  301. Index: cego-2.7.9/src/CegoKeyObject.cc
  302. --- cego-2.7.9/src/CegoKeyObject.cc.orig 2010-07-02 15:46:30.000000000 +0200
  303. +++ cego-2.7.9/src/CegoKeyObject.cc 2010-09-09 09:48:17.000000000 +0200
  304. @@ -33,6 +33,9 @@
  305. //
  306. ///////////////////////////////////////////////////////////////////////////////
  307. +#include <stdlib.h>
  308. +#include <string.h>
  309. +
  310. // cego includes
  311. #include "CegoKeyObject.h"
  312. #include "CegoXMLdef.h"
  313. Index: cego-2.7.9/src/CegoLockHandler.cc
  314. --- cego-2.7.9/src/CegoLockHandler.cc.orig 2010-09-07 23:31:47.000000000 +0200
  315. +++ cego-2.7.9/src/CegoLockHandler.cc 2010-09-09 09:48:17.000000000 +0200
  316. @@ -33,6 +33,9 @@
  317. //
  318. ///////////////////////////////////////////////////////////////////////////////
  319. +#include <stdlib.h>
  320. +#include <string.h>
  321. +
  322. #ifndef _REENTRANT
  323. #define _REENTRANT /* basic 3-lines for threads */
  324. #endif
  325. Index: cego-2.7.9/src/CegoLogManager.cc
  326. --- cego-2.7.9/src/CegoLogManager.cc.orig 2010-09-07 23:33:04.000000000 +0200
  327. +++ cego-2.7.9/src/CegoLogManager.cc 2010-09-09 09:48:17.000000000 +0200
  328. @@ -33,6 +33,9 @@
  329. //
  330. ///////////////////////////////////////////////////////////////////////////////
  331. +#include <stdlib.h>
  332. +#include <string.h>
  333. +
  334. // base includes
  335. #include <lfc/Exception.h>
  336. #include <lfc/File.h>
  337. Index: cego-2.7.9/src/CegoLogRecord.cc
  338. --- cego-2.7.9/src/CegoLogRecord.cc.orig 2010-07-02 16:33:41.000000000 +0200
  339. +++ cego-2.7.9/src/CegoLogRecord.cc 2010-09-09 09:48:17.000000000 +0200
  340. @@ -33,6 +33,9 @@
  341. //
  342. ///////////////////////////////////////////////////////////////////////////////
  343. +#include <stdlib.h>
  344. +#include <string.h>
  345. +
  346. // cego includes
  347. #include "CegoLogRecord.h"
  348. Index: cego-2.7.9/src/CegoObject.cc
  349. --- cego-2.7.9/src/CegoObject.cc.orig 2010-07-02 16:44:05.000000000 +0200
  350. +++ cego-2.7.9/src/CegoObject.cc 2010-09-09 09:48:17.000000000 +0200
  351. @@ -33,6 +33,9 @@
  352. //
  353. ///////////////////////////////////////////////////////////////////////////////
  354. +#include <stdlib.h>
  355. +#include <string.h>
  356. +
  357. // cego includes
  358. #include "CegoObject.h"
  359. Index: cego-2.7.9/src/Makefile.in
  360. --- cego-2.7.9/src/Makefile.in.orig 2010-09-07 22:29:50.000000000 +0200
  361. +++ cego-2.7.9/src/Makefile.in 2010-09-09 09:48:17.000000000 +0200
  362. @@ -25,7 +25,7 @@
  363. # LDFLAGS = -static-libgcc
  364. LDFLAGS = -L$(LIBDIR) @LDFLAGS@
  365. # CFLAGS = -I$(INCDIR) @LDFLAGS@
  366. -CFLAGS = -I$(INCDIR) -fPIC -O3 @CFLAGS@ @CPPFLAGS@
  367. +CFLAGS = -I$(INCDIR) -fPIC @CFLAGS@ @CPPFLAGS@
  368. RANLIB = @RANLIB@
  369. CGSHLIBOPT = @CGSHLIBOPT@
  370. WPSHLIBOPT = @WPSHLIBOPT@
  371. @@ -60,10 +60,8 @@
  372. $(STRIP) cgblow
  373. $(INSTALL_PROGRAM) cgblow $(DESTDIR)$(CEGOBINDIR)
  374. $(INSTALL_DATA) libcego.a $(DESTDIR)$(CEGOLIBDIR)
  375. - $(INSTALL_DATA) libcego.so.1 $(DESTDIR)$(CEGOLIBDIR)
  376. $(RANLIB) $(DESTDIR)$(CEGOLIBDIR)/libcego.a
  377. $(INSTALL_DATA) libcgwrap.a $(DESTDIR)$(CEGOLIBDIR)
  378. - $(INSTALL_DATA) libcgwrap.so.1 $(DESTDIR)$(CEGOLIBDIR)
  379. $(RANLIB) $(DESTDIR)$(CEGOLIBDIR)/libcgwrap.a
  380. $(INSTALL_DATA) CegoDbHandler.h $(DESTDIR)$(CEGOINCDIR)
  381. $(INSTALL_DATA) CegoField.h $(DESTDIR)$(CEGOINCDIR)
  382. @@ -229,12 +227,10 @@
  383. $(CCPLUS) $(LDFLAGS) -o cgblow CegoBlowTab.o libcego.a $(LIBS)
  384. libcego.a: $(LIBOBJECTS)
  385. - $(CC) $(LDFLAGS) $(CGSHLIBOPT) -o libcego.so.1 $(LIBOBJECTS)
  386. $(AR) -r libcego.a $(LIBOBJECTS)
  387. $(RANLIB) libcego.a
  388. libcgwrap.a: $(CGWRAPOBJECTS)
  389. - $(CC) $(LDFLAGS) $(WPSHLIBOPT) -o libcgwrap.so.1 $(CGWRAPOBJECTS)
  390. $(AR) -r libcgwrap.a $(CGWRAPOBJECTS)
  391. $(RANLIB) libcgwrap.a
  392. @@ -362,4 +358,4 @@
  393. CegoXMLSpace.o: CegoXMLSpace.cc CegoXMLSpace.h
  394. CegoXPorter.o: CegoXPorter.cc CegoXPorter.h
  395. CegoModule.o: CegoModule.cc CegoModule.h
  396. -cgwrap.o: cgwrap.cc
  397. \ No newline at end of file
  398. +cgwrap.o: cgwrap.cc
  399. Index: lfc-1.1.36/src/Bitmap.cc
  400. --- lfc-1.1.36/src/Bitmap.cc.orig 2010-08-15 13:48:09.000000000 +0200
  401. +++ lfc-1.1.36/src/Bitmap.cc 2010-09-09 09:48:18.000000000 +0200
  402. @@ -35,6 +35,7 @@
  403. #include <stdlib.h>
  404. // INCLUDES
  405. +#include <stdlib.h>
  406. #include "Bitmap.h"
  407. #include "Exception.h"
  408. Index: lfc-1.1.36/src/CommandExecuter.cc
  409. --- lfc-1.1.36/src/CommandExecuter.cc.orig 2010-08-15 13:53:13.000000000 +0200
  410. +++ lfc-1.1.36/src/CommandExecuter.cc 2010-09-09 09:48:18.000000000 +0200
  411. @@ -41,6 +41,7 @@
  412. #include <fcntl.h>
  413. #include <signal.h>
  414. #include <sys/wait.h>
  415. +#include <string.h>
  416. // BASE INCLUDES
  417. Index: lfc-1.1.36/src/Datetime.cc
  418. --- lfc-1.1.36/src/Datetime.cc.orig 2010-08-15 13:48:19.000000000 +0200
  419. +++ lfc-1.1.36/src/Datetime.cc 2010-09-09 09:48:18.000000000 +0200
  420. @@ -34,6 +34,8 @@
  421. #include <stdlib.h>
  422. +#include <string.h>
  423. +#include <stdlib.h>
  424. #include "Exception.h"
  425. #include "Datetime.h"
  426. Index: lfc-1.1.36/src/File.cc
  427. --- lfc-1.1.36/src/File.cc.orig 2010-08-15 12:59:34.000000000 +0200
  428. +++ lfc-1.1.36/src/File.cc 2010-09-09 09:48:18.000000000 +0200
  429. @@ -48,6 +48,7 @@
  430. #include <fcntl.h>
  431. #include <unistd.h>
  432. #include <errno.h>
  433. +#include <string.h>
  434. // BASE INCLUDES
  435. #include "Exception.h"
  436. Index: lfc-1.1.36/src/Makefile.in
  437. --- lfc-1.1.36/src/Makefile.in.orig 2010-09-05 12:08:54.000000000 +0200
  438. +++ lfc-1.1.36/src/Makefile.in 2010-09-09 09:48:18.000000000 +0200
  439. @@ -85,7 +85,6 @@
  440. $(INSTALL_DATA) Base64Coder.h $(DESTDIR)$(INCLUDEPREFIX)
  441. if [ -f regex.o ]; then $(INSTALL_DATA) regex.h $(DESTDIR)$(INCLUDEPREFIX); fi
  442. $(INSTALL_DATA) liblfc.a $(DESTDIR)$(LIBPREFIX)
  443. - $(INSTALL_DATA) liblfc.so.1 $(DESTDIR)$(LIBPREFIX)
  444. $(RANLIB) $(DESTDIR)$(LIBPREFIX)/liblfc.a
  445. clean:
  446. @@ -99,7 +98,6 @@
  447. #################
  448. liblfc: $(OBJECTS)
  449. - $(CC) $(LDFLAGS) $(SHLIBOPT) -o liblfc.so.1 $(OBJECTS)
  450. $(AR) -r liblfc.a $(OBJECTS)
  451. $(RANLIB) liblfc.a
  452. @@ -135,4 +133,4 @@
  453. CommandExecuter.o: CommandExecuter.cc CommandExecuter.h
  454. Sleeper.o: Sleeper.cc Sleeper.h
  455. Process.o: Process.cc Process.h
  456. -Base64Coder.o: Base64Coder.cc Base64Coder.h base64.c
  457. \ No newline at end of file
  458. +Base64Coder.o: Base64Coder.cc Base64Coder.h base64.c
  459. Index: lfc-1.1.36/src/Net.cc
  460. --- lfc-1.1.36/src/Net.cc.orig 2010-08-15 13:45:10.000000000 +0200
  461. +++ lfc-1.1.36/src/Net.cc 2010-09-09 09:48:18.000000000 +0200
  462. @@ -52,6 +52,7 @@
  463. #include <netdb.h>
  464. #endif
  465. #include <errno.h>
  466. +#include <string.h>
  467. #include "Exception.h"
  468. #include "Net.h"
  469. Index: lfc-1.1.36/src/NetHandler.cc
  470. --- lfc-1.1.36/src/NetHandler.cc.orig 2010-08-15 13:45:47.000000000 +0200
  471. +++ lfc-1.1.36/src/NetHandler.cc 2010-09-09 09:48:18.000000000 +0200
  472. @@ -38,6 +38,7 @@
  473. #define _REENTRANT /* basic 3-lines for threads */
  474. #endif
  475. +#include <string.h>
  476. #include <unistd.h>
  477. #include <string.h>
  478. #include <sys/types.h>
  479. Index: lfc-1.1.36/src/Process.cc
  480. --- lfc-1.1.36/src/Process.cc.orig 2010-08-15 13:51:29.000000000 +0200
  481. +++ lfc-1.1.36/src/Process.cc 2010-09-09 09:48:18.000000000 +0200
  482. @@ -43,6 +43,7 @@
  483. #include <unistd.h>
  484. #include <string.h>
  485. #include <errno.h>
  486. +#include <string.h>
  487. #include "Exception.h"
  488. #include "Chain.h"
  489. Index: lfc-1.1.36/src/Sleeper.cc
  490. --- lfc-1.1.36/src/Sleeper.cc.orig 2010-08-15 13:50:23.000000000 +0200
  491. +++ lfc-1.1.36/src/Sleeper.cc 2010-09-09 09:48:18.000000000 +0200
  492. @@ -48,6 +48,7 @@
  493. #include <unistd.h>
  494. #include <string.h>
  495. #include <errno.h>
  496. +#include <string.h>
  497. #include "Exception.h"
  498. #include "Chain.h"
  499. Index: lfc-1.1.36/src/ThreadLock.cc
  500. --- lfc-1.1.36/src/ThreadLock.cc.orig 2010-08-15 13:46:39.000000000 +0200
  501. +++ lfc-1.1.36/src/ThreadLock.cc 2010-09-09 09:48:18.000000000 +0200
  502. @@ -43,6 +43,7 @@
  503. #include <errno.h>
  504. #include <string.h>
  505. #include <time.h>
  506. +#include <string.h>
  507. #include <iostream>
  508. #include "ThreadLock.h"
  509. Index: lfcxml-1.0.24/src/Makefile.in
  510. --- lfcxml-1.0.24/src/Makefile.in.orig 2010-09-07 22:34:00.000000000 +0200
  511. +++ lfcxml-1.0.24/src/Makefile.in 2010-09-09 09:48:18.000000000 +0200
  512. @@ -51,7 +51,6 @@
  513. $(INSTALL_DATA) XMLInStream.h $(DESTDIR)$(XMLINCLUDEPATH)
  514. $(INSTALL_DATA) XMLOutStream.h $(DESTDIR)$(XMLINCLUDEPATH)
  515. $(INSTALL_DATA) liblfcxml.a $(DESTDIR)$(LIBPREFIX)
  516. - $(INSTALL_DATA) liblfcxml.so.1 $(DESTDIR)$(LIBPREFIX)
  517. $(RANLIB) $(DESTDIR)$(LIBPREFIX)/liblfcxml.a
  518. #################
  519. @@ -59,7 +58,6 @@
  520. #################
  521. liblfcxml: $(OBJECTS)
  522. - $(CC) $(LDFLAGS) $(SHLIBOPT) -o liblfcxml.so.1 $(OBJECTS)
  523. $(AR) -r liblfcxml.a $(OBJECTS)
  524. $(RANLIB) liblfcxml.a
  525. Index: lfcxml-1.0.24/src/XMLSuite.cc
  526. --- lfcxml-1.0.24/src/XMLSuite.cc.orig 2009-05-09 17:00:45.000000000 +0200
  527. +++ lfcxml-1.0.24/src/XMLSuite.cc 2010-09-09 09:48:18.000000000 +0200
  528. @@ -35,6 +35,7 @@
  529. // INCLUDES
  530. #include "XMLSuite.h"
  531. +#include <stdlib.h>
  532. XMLSuite::XMLSuite(char *pC) : XML()
  533. {