Branch: Tag:

2003-12-01

2003-12-01 20:19:58 by Martin Nilsson <mani@lysator.liu.se>

resolv works fine with just one argument.

Rev: src/modules/PDF/pdf_module.c:1.15
Rev: src/modules/Parser/parser.c:1.18
Rev: src/modules/_Image_GIF/image_gif.c:1.18
Rev: src/modules/_Image_TIFF/image_tiff.c:1.38

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: parser.c,v 1.17 2002/10/21 17:06:21 marcus Exp $ + || $Id: parser.c,v 1.18 2003/12/01 20:17:04 nilsson Exp $   */      #include "global.h"   #include "stralloc.h"   #include "global.h" - RCSID("$Id: parser.c,v 1.17 2002/10/21 17:06:21 marcus Exp $"); + RCSID("$Id: parser.c,v 1.18 2003/12/01 20:17:04 nilsson Exp $");   #include "pike_macros.h"   #include "interpret.h"   #include "program.h"
150:    push_text("_Parser_");    stack_swap();    f_add(2); -  push_int(0); -  SAFE_APPLY_MASTER("resolv",2); +  SAFE_APPLY_MASTER("resolv",1);    }    if (sp[-1].type==T_INT)    {    pop_stack();    stack_dup();    push_text("_Parser"); -  push_int(0); -  SAFE_APPLY_MASTER("resolv",2); +  SAFE_APPLY_MASTER("resolv",1);    stack_swap();    if(sp[-2].type == T_INT)    {