Don't getopt -M option and don't process it unless ENABLE_AMQ_MOUNT is on.

Obtained from:	am-utils-6.0.1s11
This commit is contained in:
obrien 1999-08-25 20:06:03 +00:00
parent 7f31d1a62e
commit 86916939e3

View File

@ -38,7 +38,7 @@
*
* %W% (Berkeley) %G%
*
* $Id: amq.c,v 1.2 1998/08/23 22:52:08 obrien Exp $
* $Id: amq.c,v 1.3 1999/01/13 20:03:56 obrien Exp $
*
*/
@ -54,7 +54,7 @@ char copyright[] = "\
@(#)Copyright (c) 1990 The Regents of the University of California.\n\
@(#)All rights reserved.\n";
#if __GNUC__ < 2
static char rcsid[] = "$Id: amq.c,v 1.2 1998/08/23 22:52:08 obrien Exp $";
static char rcsid[] = "$Id: amq.c,v 1.3 1999/01/13 20:03:56 obrien Exp $";
static char sccsid[] = "%W% (Berkeley) %G%";
#endif /* __GNUC__ < 2 */
#endif /* not lint */
@ -337,7 +337,11 @@ main(int argc, char *argv[])
/*
* Parse arguments
*/
#ifdef ENABLE_AMQ_MOUNT
while ((opt_ch = getopt(argc, argv, "fh:l:msuvx:D:M:pP:TU")) != -1)
#else
while ((opt_ch = getopt(argc, argv, "fh:l:msuvx:D:pP:TU")) != -1)
#endif
switch (opt_ch) {
case 'f':
flush_flag = 1;