File: samba4.patch

package info (click to toggle)
libfilesys-smbclient-perl 3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 388 kB
  • ctags: 132
  • sloc: perl: 757; ansic: 84; makefile: 7
file content (20 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: close() in gone from libsmbclient.h in samba 4.0 apparently
Origin: vendor
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2013-11-03

--- a/SmbClient.xs
+++ b/SmbClient.xs
@@ -454,11 +454,7 @@
  * Close file desriptor fd
  *
  */
-#ifdef HAVE_CLOSEFN
   RETVAL=context->close_fn(context, fd);
-#else
-  RETVAL=context->close(context, fd);
-#endif
 OUTPUT:
   RETVAL