Advertisement
Guest User

xpp-1.5-build-patch

a guest
Jan 28th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. diff -cr xpp-1.5-orig/xpp.cxx xpp-1.5/xpp.cxx
  2. *** xpp-1.5-orig/xpp.cxx 2004-12-06 23:00:04.000000000 +0400
  3. --- xpp-1.5/xpp.cxx 2010-06-08 08:27:05.000000000 +0400
  4. ***************
  5. *** 168,174 ****
  6. {
  7. char *tmp;
  8.  
  9. ! if ((tmp = strchr(dest,'/'))) {
  10. tmp[0] = '\0';
  11. instance = tmp + 1;
  12. }
  13. --- 168,174 ----
  14. {
  15. char *tmp;
  16.  
  17. ! if ((tmp = (char*)(strchr(dest,'/')))) {
  18. tmp[0] = '\0';
  19. instance = tmp + 1;
  20. }
  21. diff -cr xpp-1.5-orig/xpp.h xpp-1.5/xpp.h
  22. *** xpp-1.5-orig/xpp.h 2004-12-06 21:59:35.000000000 +0400
  23. --- xpp-1.5/xpp.h 2010-06-08 08:13:21.000000000 +0400
  24. ***************
  25. *** 177,183 ****
  26. */
  27.  
  28. int /* O - index of the record of the given option in the array */
  29. ! printFiles::getSpecialOptionIndex(int *num_special_opts_in_arr,
  30. /* number of options in the array */
  31. special_opt_t **special_opts_arr,
  32. /* array of numerical/string
  33. --- 177,183 ----
  34. */
  35.  
  36. int /* O - index of the record of the given option in the array */
  37. ! getSpecialOptionIndex(int *num_special_opts_in_arr,
  38. /* number of options in the array */
  39. special_opt_t **special_opts_arr,
  40. /* array of numerical/string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement