mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.8 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/dietlibc/pkg_patch/pkg_wget.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./src/progress.c~ Fri May 24 14:58:17 2002
  23. +++ ./src/progress.c Sat Mar 15 20:48:35 2003
  24. @@ -690,7 +690,7 @@
  25. else if (bp->total_length > 0)
  26. APPEND_LITERAL (" ETA --:--");
  27. - assert (p - bp->buffer <= bp->width);
  28. + assert ((p - bp->buffer) <= bp->width);
  29. while (p < bp->buffer + bp->width)
  30. *p++ = ' ';
  31. --- ./src/url.c~ 2003-11-14 12:25:27.000000000 +0100
  32. +++ ./src/url.c 2003-11-14 12:28:43.000000000 +0100
  33. @@ -204,7 +204,7 @@
  34. else
  35. *p2++ = *p1++;
  36. }
  37. - assert (p2 - newstr == newlen);
  38. + assert ((p2 - newstr) == newlen);
  39. *p2 = '\0';
  40. return newstr;
  41. @@ -398,7 +398,7 @@
  42. }
  43. }
  44. *p2 = '\0';
  45. - assert (p2 - newstr == newlen);
  46. + assert ((p2 - newstr) == newlen);
  47. return newstr;
  48. }
  49. @@ -1481,7 +1481,7 @@
  50. *q++ = XNUM_TO_DIGIT (ch & 0xf);
  51. }
  52. }
  53. - assert (q - TAIL (dest) == outlen);
  54. + assert ((q - TAIL (dest)) == outlen);
  55. }
  56. TAIL_INCR (dest, outlen);
  57. }
  58. @@ -2018,7 +2018,7 @@
  59. p += fplen;
  60. *p++ = '\0';
  61. - assert (p - result == size);
  62. + assert ((p - result) == size);
  63. if (quoted_user && quoted_user != url->user)
  64. xfree (quoted_user);
  65. --- ./src/html-parse.c~ 2003-11-14 12:37:26.000000000 +0100
  66. +++ ./src/html-parse.c 2003-11-14 12:37:59.000000000 +0100
  67. @@ -379,7 +379,7 @@
  68. }
  69. /* Verify that we haven't exceeded the original size. (It
  70. shouldn't happen, hence the assert.) */
  71. - assert (to - (pool->contents + pool->tail) <= end - beg);
  72. + assert ((to - (pool->contents + pool->tail)) <= (end - beg));
  73. /* Make POOL's tail point to the position following the string
  74. we've written. */
  75. --- ./src/convert.c~ 2003-11-14 12:36:33.000000000 +0100
  76. +++ ./src/convert.c 2003-11-14 12:37:06.000000000 +0100
  77. @@ -600,7 +600,7 @@
  78. *to++ = 'F';
  79. }
  80. }
  81. - assert (to - newname == fsqlen);
  82. + assert ((to - newname) == fsqlen);
  83. *to = '\0';
  84. file_sans_qmark = newname;