mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* mcserv.c: Remove all references to MAD.
* vfs.c: Likewise.
This commit is contained in:
parent
e692d7865c
commit
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>
|
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.
|
unix_to_dos() call.
|
||||||
(cli_printjob_del): Commented out.
|
(cli_printjob_del): Commented out.
|
||||||
(cli_print_queue): Ditto.
|
(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;
|
extern char *optarg;
|
||||||
int c;
|
int c;
|
||||||
|
|
||||||
#ifdef HAVE_MAD
|
|
||||||
mad_init ();
|
|
||||||
#endif
|
|
||||||
while ((c = getopt (argc, argv, "fdiqp:v")) != -1){
|
while ((c = getopt (argc, argv, "fdiqp:v")) != -1){
|
||||||
switch (c){
|
switch (c){
|
||||||
case 'd':
|
case 'd':
|
||||||
@ -1291,9 +1288,6 @@ int main (int argc, char *argv [])
|
|||||||
pmap_unset (RPC_PROGNUM, RPC_PROGVER);
|
pmap_unset (RPC_PROGNUM, RPC_PROGVER);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#ifdef HAVE_MAD
|
|
||||||
mad_finalize (__FILE__, __LINE__);
|
|
||||||
#endif
|
|
||||||
exit (return_code);
|
exit (return_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1304,7 +1298,3 @@ void vfs_die( char *m )
|
|||||||
exit (1);
|
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);
|
char *result = g_strdup (path);
|
||||||
|
|
||||||
mad_check("(pre-canonicalize)", 0);
|
|
||||||
canonicalize_pathname (result);
|
canonicalize_pathname (result);
|
||||||
mad_check("(post-canonicalize)", 0);
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user