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.

81 lines
2.6 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 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./src/progress.c~ Fri May 24 14:58:17 2002
  20. +++ ./src/progress.c Sat Mar 15 20:48:35 2003
  21. @@ -690,7 +690,7 @@
  22. else if (bp->total_length > 0)
  23. APPEND_LITERAL (" ETA --:--");
  24. - assert (p - bp->buffer <= bp->width);
  25. + assert ((p - bp->buffer) <= bp->width);
  26. while (p < bp->buffer + bp->width)
  27. *p++ = ' ';
  28. --- ./src/url.c~ 2003-11-14 12:25:27.000000000 +0100
  29. +++ ./src/url.c 2003-11-14 12:28:43.000000000 +0100
  30. @@ -204,7 +204,7 @@
  31. else
  32. *p2++ = *p1++;
  33. }
  34. - assert (p2 - newstr == newlen);
  35. + assert ((p2 - newstr) == newlen);
  36. *p2 = '\0';
  37. return newstr;
  38. @@ -398,7 +398,7 @@
  39. }
  40. }
  41. *p2 = '\0';
  42. - assert (p2 - newstr == newlen);
  43. + assert ((p2 - newstr) == newlen);
  44. return newstr;
  45. }
  46. @@ -1481,7 +1481,7 @@
  47. *q++ = XNUM_TO_DIGIT (ch & 0xf);
  48. }
  49. }
  50. - assert (q - TAIL (dest) == outlen);
  51. + assert ((q - TAIL (dest)) == outlen);
  52. }
  53. TAIL_INCR (dest, outlen);
  54. }
  55. @@ -2018,7 +2018,7 @@
  56. p += fplen;
  57. *p++ = '\0';
  58. - assert (p - result == size);
  59. + assert ((p - result) == size);
  60. if (quoted_user && quoted_user != url->user)
  61. xfree (quoted_user);
  62. --- ./src/html-parse.c~ 2003-11-14 12:37:26.000000000 +0100
  63. +++ ./src/html-parse.c 2003-11-14 12:37:59.000000000 +0100
  64. @@ -379,7 +379,7 @@
  65. }
  66. /* Verify that we haven't exceeded the original size. (It
  67. shouldn't happen, hence the assert.) */
  68. - assert (to - (pool->contents + pool->tail) <= end - beg);
  69. + assert ((to - (pool->contents + pool->tail)) <= (end - beg));
  70. /* Make POOL's tail point to the position following the string
  71. we've written. */
  72. --- ./src/convert.c~ 2003-11-14 12:36:33.000000000 +0100
  73. +++ ./src/convert.c 2003-11-14 12:37:06.000000000 +0100