~ubuntu-branches/ubuntu/precise/devil/precise

« back to all changes in this revision

Viewing changes to src-ILU/include/ilu_error/ilu_err-english.h

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2009-01-17 15:01:18 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090117150118-4bwb6nmvbz4srsjl
Tags: 1.7.5-4
Actually fix CVE-2008-5262. Closes: #512122.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//-----------------------------------------------------------------------------
 
2
//
 
3
// ImageLib Utility Sources
 
4
// Copyright (C) 2000-2008 by Denton Woods
 
5
// Last modified: 11/08/2008
 
6
//
 
7
// Filename: src-ILU/include/ilu_error/ilu_err_english.h
 
8
//
 
9
// Description: Error functions in English.
 
10
//
 
11
//-----------------------------------------------------------------------------
 
12
 
 
13
 
 
14
#ifndef ILU_ERR_ENGLISH_H
 
15
#define ILU_ERR_ENGLISH_H
 
16
 
 
17
#include "ilu_internal.h"
 
18
 
 
19
ILconst_string iluErrorStringsEnglish[IL_FILE_READ_ERROR - IL_INVALID_ENUM + 1] = {
 
20
        IL_TEXT("invalid enumerant"),
 
21
    IL_TEXT("out of memory"),
 
22
        IL_TEXT("format not supported yet"),
 
23
        IL_TEXT("internal error"),
 
24
        IL_TEXT("invalid value"),
 
25
    IL_TEXT("illegal operation"),
 
26
        IL_TEXT("illegal file value"),
 
27
        IL_TEXT("invalid file header"),
 
28
        IL_TEXT("invalid parameter"),
 
29
        IL_TEXT("could not open file"),
 
30
        IL_TEXT("invalid extension"),
 
31
        IL_TEXT("file already exists"),
 
32
        IL_TEXT("out format equivalent"),
 
33
        IL_TEXT("stack overflow"),
 
34
    IL_TEXT("stack underflow"),
 
35
        IL_TEXT("invalid conversion"),
 
36
        IL_TEXT("bad dimensions"),
 
37
        IL_TEXT("file read error")
 
38
};
 
39
 
 
40
ILconst_string iluLibErrorStringsEnglish[IL_LIB_MNG_ERROR - IL_LIB_GIF_ERROR + 1] = {
 
41
        IL_TEXT("gif library error"),
 
42
        IL_TEXT("jpeg library error"),
 
43
        IL_TEXT("png library error"),
 
44
        IL_TEXT("tiff library error"),
 
45
        IL_TEXT("mng library error")
 
46
};
 
47
 
 
48
ILconst_string iluMiscErrorStringsEnglish[2] = {
 
49
        IL_TEXT("no error"),
 
50
        IL_TEXT("unknown error")
 
51
};
 
52
 
 
53
#endif//ILU_ERR_ENGLISH_H
 
 
b'\\ No newline at end of file'