Branch: Tag:

2005-11-12

2005-11-12 20:22:13 by Martin Nilsson <mani@lysator.liu.se>

Slight abstraction of finding binary strings

Rev: src/dynamic_load.c:1.88
Rev: src/modules/Mysql/mysql.c:1.92
Rev: src/modules/files/efuns.c:1.177
Rev: src/modules/files/file.c:1.353
Rev: src/stralloc.h:1.95

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: dynamic_load.c,v 1.87 2005/10/19 12:39:43 nilsson Exp $ + || $Id: dynamic_load.c,v 1.88 2005/11/12 20:21:13 nilsson Exp $   */      #ifdef TESTING
438:       if((Pike_sp[-args].type != T_STRING) ||    (module_name->size_shift) || -  ((INT32) strlen(module_name->str) != module_name->len)) { +  string_has_null(module_name)) {    Pike_error("Bad argument 1 to load_module()\n");    }