From 8d8dcb9c9350e3967435ea8eeaa99d997984af78 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Mar 2009 16:47:53 +0100 Subject: [PATCH] Changed severity of ISO_FILENAME_WRONG_CHARSET from HINT to WARNING. Keeping old error code as ISO_FILENAME_WRONG_CHARSET_OLD. --- libisofs/libisofs.h | 6 ++++-- libisofs/messages.c | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libisofs/libisofs.h b/libisofs/libisofs.h index 0da48a9..2cc9903 100644 --- a/libisofs/libisofs.h +++ b/libisofs/libisofs.h @@ -4127,8 +4127,10 @@ void iso_stream_get_id(IsoStream *stream, unsigned int *fs_id, dev_t *dev_id, /* File read error during image creation (MISHAP,HIGH, -141) */ #define ISO_FILE_CANT_WRITE 0xE430FF73 -/* Can't convert filename to requested charset (HINT,MEDIUM, -142) */ -#define ISO_FILENAME_WRONG_CHARSET 0xC020FF72 +/* Can't convert filename to requested charset (WARNING,MEDIUM, -142) */ +#define ISO_FILENAME_WRONG_CHARSET 0xD020FF72 +/* This was once a HINT. Deprecated now. */ +#define ISO_FILENAME_WRONG_CHARSET_OLD 0xC020FF72 /* File can't be added to the tree (SORRY,HIGH, -143) */ #define ISO_FILE_CANT_ADD 0xE030FF71 diff --git a/libisofs/messages.c b/libisofs/messages.c index 6fe7906..efa76df 100644 --- a/libisofs/messages.c +++ b/libisofs/messages.c @@ -164,6 +164,7 @@ const char *iso_error_to_msg(int errcode) case ISO_FILE_CANT_WRITE: return "File read error during image creation"; case ISO_FILENAME_WRONG_CHARSET: + case ISO_FILENAME_WRONG_CHARSET_OLD: return "Cannot convert filename to requested charset"; case ISO_FILE_CANT_ADD: return "File cannot be added to the tree";