Branch: Tag:

2004-05-20

2004-05-20 16:04:14 by Stephen R. van den Berg <srb@cuci.nl>

Fix several (recently) dangling references

Rev: server/bin/setup_nsr.pike:1.2
Rev: server/data/test/tests/http/internal.pike:1.4
Rev: server/modules/ldap/userdb_ldap.pike:1.16
Rev: server/modules/tags/accessed.pike:1.53
Rev: server/modules/tags/javascript_support/javascript_support.pike:1.53
Rev: server/pike_modules/LazyImage.pmod/module.pmod:1.16
Rev: server/pike_modules/RXML.pmod/module.pmod:1.302
Rev: server/server_core/core.pike:1.860
Rev: server/server_core/loader.pike:1.381

1: - // $Id: setup_nsr.pike,v 1.1 2004/05/02 14:10:43 mani Exp $ + // $Id: setup_nsr.pike,v 1.2 2004/05/20 16:04:09 _cvs_stephen Exp $   //   // Setup .nsr (Networker) files for logfile directories if appropriate.   // NOTE: We must be paranoid; we must not alter files that the user
22:    }       int this_rev = -1; -  if (sscanf("$Revision: 1.1 $", "$""Revision: 1.%d $", this_rev) != 1) { +  if (sscanf("$Revision: 1.2 $", "$""Revision: 1.%d $", this_rev) != 1) {    vwerror("Failed to parse own revision $Rev$\n");    return;    }
44:    vwerror("No checksum.\n");    return;    } -  if (Crypto.string_to_hex(Crypto.md5()->update(old_content)->digest()) != +  if (Crypto.string_to_hex(Crypto.MD5()->update(old_content)->digest()) !=    csum) {    vwerror("Bad checksum.\n");    return;
79:    Stdio.write_file(nsr_file,    sprintf("# Roxen nsr-checksum: %s\n"    "%s", -  Crypto.string_to_hex(Crypto.md5()-> +  Crypto.string_to_hex(Crypto.MD5()->    update(new_content)    ->digest()),    new_content));
107:    verbose++;    break;    case "version": -  write("$Id: setup_nsr.pike,v 1.1 2004/05/02 14:10:43 mani Exp $\n"); +  write("$Id: setup_nsr.pike,v 1.2 2004/05/20 16:04:09 _cvs_stephen Exp $\n");    break;    }    }   }