Branch: Tag:

2008-05-04

2008-05-04 00:34:22 by Martin Nilsson <mani@lysator.liu.se>

Put all illegal size shift fatals behind ifdef PIKE_DEBUG.

Rev: src/modules/Image/font.c:1.91
Rev: src/modules/_Charset/charsetmod.c:1.64
Rev: src/modules/_Charset/iso2022.c:1.46

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: font.c,v 1.90 2006/03/06 08:47:36 peter Exp $ + || $Id: font.c,v 1.91 2008/05/04 00:34:22 nilsson Exp $   */      #include "global.h"
799:    if (xsize > max) max=xsize;    }    break; + #ifdef PIKE_DEBUG    default:    Pike_fatal("Illegal shift size!\n"); -  + #endif    }    if (max>maxwidth2) maxwidth2=max;    }