svn commit: samba r5135 - in branches/SAMBA_4_0/source/lib/cmdline:
.
metze at samba.org
metze at samba.org
Mon Jan 31 16:01:25 GMT 2005
Author: metze
Date: 2005-01-31 16:01:22 +0000 (Mon, 31 Jan 2005)
New Revision: 5135
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5135
Log:
I prepare a clean up in includes.h
metze
Modified:
branches/SAMBA_4_0/source/lib/cmdline/popt_common.c
branches/SAMBA_4_0/source/lib/cmdline/readline.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_common.c
===================================================================
--- branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-01-31 15:58:54 UTC (rev 5134)
+++ branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-01-31 16:01:22 UTC (rev 5135)
@@ -23,6 +23,7 @@
#include "includes.h"
#include "version.h"
#include "dynconfig.h"
+#include "system/filesys.h"
#include "system/passwd.h"
#include "lib/cmdline/popt_common.h"
@@ -403,7 +404,7 @@
snprintf(cmdline_auth_info.username, sizeof(cmdline_auth_info.username),
"%s$", lp_netbios_name());
pstrcpy(cmdline_auth_info.password,opt_password);
- SAFE_FREE(opt_password);
+ free(opt_password);
cmdline_auth_info.got_pass = True;
pstrcpy(cmdline_auth_info.domain, lp_workgroup());
Modified: branches/SAMBA_4_0/source/lib/cmdline/readline.c
===================================================================
--- branches/SAMBA_4_0/source/lib/cmdline/readline.c 2005-01-31 15:58:54 UTC (rev 5134)
+++ branches/SAMBA_4_0/source/lib/cmdline/readline.c 2005-01-31 16:01:22 UTC (rev 5135)
@@ -21,6 +21,8 @@
#include "includes.h"
+#include <unistd.h>
+
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_READLINE_H
# include <readline/readline.h>
More information about the samba-cvs
mailing list