* mcserv.c: Remove all references to MAD.

* vfs.c: Likewise.
This commit is contained in:
Pavel Roskin 2002-08-01 19:48:21 +00:00
parent e692d7865c
commit c0d6dec814
3 changed files with 6 additions and 15 deletions

View File

@ -1,6 +1,11 @@
2002-08-01 Pavel Roskin <proski@gnu.org>
* mcserv.c: Remove all references to MAD.
* vfs.c: Likewise.
2002-07-31 Andrew V. Samoilov <kai@cmail.ru>
* samba/libsmb/clientgen.c (cli_send_tconX): Add missed
* samba/libsmb/clientgen.c (cli_send_tconX): Add missing
unix_to_dos() call.
(cli_printjob_del): Commented out.
(cli_print_queue): Ditto.

View File

@ -1225,9 +1225,6 @@ int main (int argc, char *argv [])
extern char *optarg;
int c;
#ifdef HAVE_MAD
mad_init ();
#endif
while ((c = getopt (argc, argv, "fdiqp:v")) != -1){
switch (c){
case 'd':
@ -1291,9 +1288,6 @@ int main (int argc, char *argv [])
pmap_unset (RPC_PROGNUM, RPC_PROGVER);
#endif
}
#ifdef HAVE_MAD
mad_finalize (__FILE__, __LINE__);
#endif
exit (return_code);
}
@ -1304,7 +1298,3 @@ void vfs_die( char *m )
exit (1);
}
/* Here to avoid undefining of malloc and family */
#ifdef HAVE_MAD
#include "../src/mad.c"
#endif

View File

@ -755,11 +755,7 @@ vfs_canon (const char *path)
*/
{
char *result = g_strdup (path);
mad_check("(pre-canonicalize)", 0);
canonicalize_pathname (result);
mad_check("(post-canonicalize)", 0);
return result;
}
}