httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Fri, 03 Aug 2001 01:00:12 GMT
wrowe       01/08/02 18:00:12

  Modified:    modules/generators mod_autoindex.c
  Log:
    Begone ancient beast.  IndexOptions FancyIndexing is sufficiently less
    confusing.
  
  Revision  Changes    Path
  1.74      +2 -22     httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- mod_autoindex.c	2001/07/29 21:26:52	1.73
  +++ mod_autoindex.c	2001/08/03 01:00:12	1.74
  @@ -355,26 +355,6 @@
       return NULL;
   }
   
  -/* A legacy directive, FancyIndexing is superseded by the IndexOptions
  - * keyword.  But for compatibility..
  - */
  -static const char *fancy_indexing(cmd_parms *cmd, void *d, int arg)
  -{
  -    int curopts;
  -    int newopts;
  -    autoindex_config_rec *cfg;
  -
  -    cfg = (autoindex_config_rec *) d;
  -    curopts = cfg->opts;
  -    if (curopts & NO_OPTIONS) {
  -	return "FancyIndexing directive conflicts with existing "
  -	       "IndexOptions None";
  -    }
  -    newopts = (arg ? (curopts | FANCY_INDEXING) : (curopts & ~FANCY_INDEXING));
  -    cfg->opts = newopts;
  -    return NULL;
  -}
  -
   static const char *add_opts(cmd_parms *cmd, void *d, const char *optstr)
   {
       char *w;
  @@ -581,8 +561,8 @@
                     "a filename"),
       AP_INIT_TAKE1("ReadmeName", add_readme, NULL, DIR_CMD_PERMS,
                     "a filename"),
  -    AP_INIT_FLAG("FancyIndexing", fancy_indexing, NULL, DIR_CMD_PERMS,
  -                 "Limited to 'on' or 'off' (superseded by IndexOptions FancyIndexing)"),
  +    AP_INIT_RAW_ARGS("FancyIndexing", ap_set_deprecated, NULL, OR_ALL,
  +                 "The FancyIndexing directive is no longer supported.  Use IndexOptions
FancyIndexing."),
       AP_INIT_TAKE1("DefaultIcon", ap_set_string_slot,
                     (void *) XtOffsetOf(autoindex_config_rec, default_icon),
                     DIR_CMD_PERMS, "an icon URL"),
  
  
  

Mime
View raw message