OpenSDE Packages Database (without history before r20070)
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.

52 lines
1.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../gettext/ret-types.patch.disabled
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. --- ./lib/getline.c.orig Wed Nov 3 09:40:02 1999
  18. +++ ./lib/getline.c Wed Nov 3 09:41:26 1999
  19. @@ -30,7 +30,7 @@
  20. #if defined __GNU_LIBRARY__ && HAVE_GETDELIM
  21. -int
  22. +ssize_t
  23. getline (lineptr, n, stream)
  24. char **lineptr;
  25. size_t *n;
  26. @@ -143,7 +143,7 @@
  27. return getstr (lineptr, n, stream, '\n', 0);
  28. }
  29. -int
  30. +ssize_t
  31. getdelim (lineptr, n, delimiter, stream)
  32. char **lineptr;
  33. size_t *n;
  34. --- ./lib/getline.h.orig Wed Nov 3 09:40:02 1999
  35. +++ ./lib/getline.h Wed Nov 3 09:41:38 1999
  36. @@ -27,10 +27,10 @@
  37. # endif
  38. # endif
  39. -int
  40. +ssize_t
  41. getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream));
  42. -int
  43. +ssize_t
  44. getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream));
  45. #endif /* not GETLINE_H_ */