Branch: Tag:

2002-11-29

2002-11-29 00:52:48 by Martin Nilsson <mani@lysator.liu.se>

Improved _sprintf

Rev: lib/modules/ADT.pmod/History.pike:1.7
Rev: lib/modules/ADT.pmod/Relation.pmod/Binary.pike:1.5
Rev: lib/modules/ADT.pmod/Stack.pike:1.9
Rev: lib/modules/Audio.pmod/Codec.pmod:1.8
Rev: lib/modules/Audio.pmod/Format.pmod/module.pmod:1.5
Rev: lib/modules/Filesystem.pmod/System.pike:1.12
Rev: lib/modules/Filesystem.pmod/Tar.pmod:1.18
Rev: lib/modules/Filesystem.pmod/module.pmod:1.11
Rev: lib/modules/Geography.pmod/Countries.pmod:1.18
Rev: lib/modules/Geography.pmod/Position.pike:1.11
Rev: lib/modules/Locale.pmod/module.pmod:1.14
Rev: lib/modules/Parser.pmod/C.pmod:1.32
Rev: lib/modules/Parser.pmod/RCS.pike:1.27
Rev: lib/modules/Parser.pmod/XML.pmod/DOM.pmod:1.9
Rev: lib/modules/Parser.pmod/XML.pmod/NSTree.pmod:1.6
Rev: lib/modules/Parser.pmod/XML.pmod/Validating.pike:1.3

384:       string _sprintf(int t)    { -  if (t=='O') -  return "Country("+name+")"; -  return 0; +  return t=='O' && sprintf("%O(%s)", this_program, name);    }      }