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.

44 lines
1.3 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../howl/howl-0.9.8-darwin-locking-api.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. # --- T2-COPYRIGHT-NOTE-END ---
  16. Make the exposed API for Darwin similar to that on the other platforms, so
  17. applications using it will be portable.
  18. - Hans Petter Jansson <hpj@novell.com>
  19. diff -upr howl-0.9.8-orig/src/lib/howl/MacOSX/macosx_salt.c howl-0.9.8/src/lib/howl/MacOSX/macosx_salt.c
  20. --- howl-0.9.8-orig/src/lib/howl/MacOSX/macosx_salt.c Fri Jan 28 11:27:36 2005
  21. +++ howl-0.9.8/src/lib/howl/MacOSX/macosx_salt.c Fri Jan 28 11:32:09 2005
  22. @@ -229,3 +229,19 @@ sw_socket_error_code()
  23. {
  24. return errno;
  25. }
  26. +
  27. +
  28. +sw_result
  29. +sw_salt_lock(
  30. + sw_salt self)
  31. +{
  32. + sw_assert(self);
  33. +}
  34. +
  35. +
  36. +sw_result
  37. +sw_salt_unlock(
  38. + sw_salt self)
  39. +{
  40. + sw_assert(self);
  41. +}