From 869c67c598b2984c609533050dd5649d86df4b02 Mon Sep 17 00:00:00 2001 From: franklahm Date: Sun, 4 Apr 2010 15:04:45 +0000 Subject: [PATCH] Remove incomplete mapchars option --- etc/afpd/volume.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c index e3b0484b..d68cb7ba 100644 --- a/etc/afpd/volume.c +++ b/etc/afpd/volume.c @@ -1,5 +1,5 @@ /* - * $Id: volume.c,v 1.122 2010-03-31 09:47:32 franklahm Exp $ + * $Id: volume.c,v 1.123 2010-04-04 15:04:45 franklahm Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -92,16 +92,7 @@ static void free_extmap(void); #define VOLOPT_CASEFOLD 5 /* character case mangling */ #define VOLOPT_FLAGS 6 /* various flags */ #define VOLOPT_DBPATH 7 /* path to database */ -#define VOLOPT_MAPCHARS 8 /* does mtou and utom mappings. syntax: - m and u can be double-byte hex - strings if necessary. - m=u -> map both ways - m>u -> map m to u - m map u to m - !u -> make u illegal always - ~u -> make u illegal only as the first - part of a double-byte character. - */ +/* Usable slots: 8 and 9 */ #define VOLOPT_VETO 10 /* list of veto filespec */ #define VOLOPT_PREEXEC 11 /* preexec command */ #define VOLOPT_ROOTPREEXEC 12 /* root preexec command */ @@ -494,9 +485,6 @@ static void volset(struct vol_option *options, struct vol_option *save, options[VOLOPT_FPERM].i_value = (int)strtol(val+1, NULL, 8); } else if (optionok(tmp, "perm:", val)) { options[VOLOPT_DFLTPERM].i_value = (int)strtol(val+1, NULL, 8); - } else if (optionok(tmp, "mapchars:",val)) { - setoption(options, save, VOLOPT_MAPCHARS, val); - } else if (optionok(tmp, "password:", val)) { setoption(options, save, VOLOPT_PASSWORD, val); -- 2.39.2