Branch: Tag:

2003-08-07

2003-08-07 14:27:02 by Martin Nilsson <mani@lysator.liu.se>

Don't use search for has_value

Rev: lib/modules/Filesystem.pmod/System.pike:1.15
Rev: lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike:1.10
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.79
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.61
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Raw.pike:1.16
Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.23
Rev: lib/modules/Protocols.pmod/SNMP.pmod/agent.pike:1.5
Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.21
Rev: lib/modules/SSL.pmod/handshake.pike:1.34
Rev: lib/modules/Stdio.pmod/Terminfo.pmod:1.18

1: - // $Id: Terminfo.pmod,v 1.17 2003/06/26 23:28:51 nilsson Exp $ + // $Id: Terminfo.pmod,v 1.18 2003/08/07 14:25:50 nilsson Exp $   #pike __REAL_VERSION__      
211:       data=replace(data,"\\^","\\*");    -  if (search(data,"^")!=-1) +  if (has_value(data, "^"))    data=replace(data,ctrlcharsfrom,ctrlcharsto);       data = replace(data,