ports/net/samba3/files/patch-lib_iconv.c
Tim Bishop c89e412277 - Update to 3.0.25a.
Major bug fixes included in Samba 3.0.25a are:

  o Missing supplementary Unix group membership when using "force
    group".
  o Premature expiration of domain user passwords when using a
    Samba domain controller.
  o Failure to open the Windows object picker against a server
    configured to use "security = domain".
  * Authentication failures when using security = server.

Plus additional local fixes.

PR:		ports/113358
Submitted by:	maintainer
2007-06-05 10:55:06 +00:00

11 lines
336 B
C

--- lib/iconv.c.orig Tue Jun 5 01:45:05 2007
+++ lib/iconv.c Tue Jun 5 01:46:09 2007
@@ -137,7 +137,7 @@
char **outbuf, size_t *outbytesleft)
{
size_t ret = iconv((iconv_t)cd,
- (char **)inbuf, inbytesleft,
+ inbuf, inbytesleft,
outbuf, outbytesleft);
if (ret == (size_t)-1) {
int saved_errno = errno;