Branch: Tag:

2004-01-22

2004-01-22 23:17:28 by Martin Nilsson <mani@lysator.liu.se>

Fixed errors

Rev: src/docode.c:1.174
Rev: src/modules/Image/colors.c:1.71
Rev: src/modules/Image/colortable.c:1.118
Rev: src/modules/Image/encodings/psd.c:1.40
Rev: src/modules/Image/encodings/x.c:1.43
Rev: src/modules/Image/encodings/xcf.c:1.47
Rev: src/modules/Image/operator.c:1.45
Rev: src/modules/Java/jvm.c:1.66
Rev: src/modules/Math/transforms.cmod:1.11
Rev: src/modules/Perl/perlmod.c:1.34
Rev: src/modules/Ssleay/ssleay.c:1.21
Rev: src/modules/_Image_GIF/image_gif.c:1.20
Rev: src/modules/files/file.c:1.311
Rev: src/modules/files/termios.c:1.22
Rev: src/pike_types.h:1.93
Rev: src/program.c:1.554

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: xcf.c,v 1.46 2003/10/24 23:34:42 nilsson Exp $ + || $Id: xcf.c,v 1.47 2004/01/22 23:11:34 nilsson Exp $   */      #include "global.h" - RCSID("$Id: xcf.c,v 1.46 2003/10/24 23:34:42 nilsson Exp $"); + RCSID("$Id: xcf.c,v 1.47 2004/01/22 23:11:34 nilsson Exp $");      #include "image_machine.h"   
136:    unsigned char *p;    int x = sp[-1].u.integer;    if( x > s->len>>2 ) -  Pike_error("Index %d out of range", x ); +  Pike_error("Index %d out of range.\n", x );       p = ((unsigned char *)s->s->str) + s->offset + x*4;    res = (p[0]<<24) | (p[1]<<16) | (p[2]<<8) | p[3];
151:    unsigned char *p;    int x = sp[-1].u.integer;    if( x > s->len>>2 ) -  Pike_error("Index %d out of range", x ); +  Pike_error("Index %d out of range.\n", x );       p = ((unsigned char *)s->s->str) + s->offset + x*4;    res = (p[0]<<24) | (p[1]<<16) | (p[2]<<8) | p[3];
165:    unsigned char *p;    int x = sp[-1].u.integer;    if( x > s->len>>1 ) -  Pike_error("Index %d out of range", x ); +  Pike_error("Index %d out of range.\n", x );       p = ((unsigned char *)s->s->str) + s->offset + x*2;    res = (p[2]<<8) | p[3];
179:    unsigned char *p;    int x = sp[-1].u.integer;    if( x > s->len>>1 ) -  Pike_error("Index %d out of range", x ); +  Pike_error("Index %d out of range.\n", x );       p = ((unsigned char *)s->s->str) + s->offset + x*2;    res = (p[2]<<8) | p[3];