* mcserv.c: Remove all references to MAD.
* vfs.c: Likewise.
Этот коммит содержится в:
родитель
e692d7865c
Коммит
c0d6dec814
@ -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.
|
||||
|
10
vfs/mcserv.c
10
vfs/mcserv.c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user