W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2000

webbot-5.2.8: minor bug & fix for "-norobotstxt" argv (I think)

From: Pål Baltzersen <pal.baltzersen@ost.eltele.no>
Date: Mon, 21 Feb 2000 18:50:47 +0100
Message-Id: <s8b18917.081@groupwise.ost.eltele.no>
To: www-lib@w3.org
*** Robot/src/RobotMain.c.orig  Sun Mar 14 03:21:09 1999
--- Robot/src/RobotMain.c       Mon Feb 21 16:07:08 2000
***************
*** 332,340 ****
                if (arg+1 < argc && *argv[arg+1] != '-') {
                    mr->check = get_regtype(mr, argv[++arg], W3C_DEFAULT_REGEX_FLAGS);
                }
            } else if (!strcmp(argv[arg], "-norobotstxt")) {
              mr->flags |= MR_NOROBOTSTXT;
- #endif
  
  #ifdef HT_MYSQL
            /* If we can link against a MYSQL database library */
--- 332,340 ----
                if (arg+1 < argc && *argv[arg+1] != '-') {
                    mr->check = get_regtype(mr, argv[++arg], W3C_DEFAULT_REGEX_FLAGS);
                }
+ #endif
            } else if (!strcmp(argv[arg], "-norobotstxt")) {
              mr->flags |= MR_NOROBOTSTXT;
  
  #ifdef HT_MYSQL
            /* If we can link against a MYSQL database library */


Pål

----------------------------------------------------------------
Addr:	Pål Baltzersen, ElTele Øst AS, Fredrik Selmers vei 2, Postboks 6299 Etterstad, N-0603 Oslo.
Phone:	+47 23 18 10 00		Direct:	+47 23 18 11 74
fax:	+47 23 18 10 01		Mobile:	+47 93 08 11 74
mail:	pb@ost.eltele.no	pal.baltzersen@ost.eltele.no
Received on Monday, 21 February 2000 12:51:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT