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.

59 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../qmail/errno.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./error.h.orig 2004-05-04 23:33:15.000000000 -0400
  17. +++ ./error.h 2004-05-04 23:33:28.000000000 -0400
  18. @@ -1,7 +1,7 @@
  19. #ifndef ERROR_H
  20. #define ERROR_H
  21. -extern int errno;
  22. +#include <errno.h>
  23. extern int error_intr;
  24. extern int error_nomem;
  25. --- ./dns.c.orig 2004-05-04 23:33:50.000000000 -0400
  26. +++ ./dns.c 2004-05-04 23:34:03.000000000 -0400
  27. @@ -7,8 +7,6 @@
  28. #include <errno.h>
  29. extern int res_query();
  30. extern int res_search();
  31. -extern int errno;
  32. -extern int h_errno;
  33. #include "ip.h"
  34. #include "ipalloc.h"
  35. #include "fmt.h"
  36. --- ./cdb_seek.c.orig Mon Jun 15 06:53:16 1998
  37. +++ ./cdb_seek.c Wed Jan 21 12:58:12 2004
  38. @@ -1,6 +1,5 @@
  39. #include <sys/types.h>
  40. #include <errno.h>
  41. -extern int errno;
  42. #include "cdb.h"
  43. #ifndef SEEK_SET
  44. --- ./error.3.orig Mon Jun 15 06:53:16 1998
  45. +++ ./error.3 Wed Jan 21 12:59:46 2004
  46. @@ -3,8 +3,8 @@
  47. error \- syscall error codes
  48. .SH SYNTAX
  49. .B #include <error.h>
  50. -
  51. -extern int \fBerrno\fP;
  52. +.br
  53. +.B #include <errno.h>
  54. extern int \fBerror_intr\fP;
  55. .br