Changed severity of ISO_FILENAME_WRONG_CHARSET from HINT to WARNING.

Keeping old error code as ISO_FILENAME_WRONG_CHARSET_OLD.
This commit is contained in:
Thomas Schmitt 2009-03-03 16:47:53 +01:00
parent e1460aa9a6
commit 8d8dcb9c93
2 changed files with 5 additions and 2 deletions

View File

@ -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) */ /* File read error during image creation (MISHAP,HIGH, -141) */
#define ISO_FILE_CANT_WRITE 0xE430FF73 #define ISO_FILE_CANT_WRITE 0xE430FF73
/* Can't convert filename to requested charset (HINT,MEDIUM, -142) */ /* Can't convert filename to requested charset (WARNING,MEDIUM, -142) */
#define ISO_FILENAME_WRONG_CHARSET 0xC020FF72 #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) */ /* File can't be added to the tree (SORRY,HIGH, -143) */
#define ISO_FILE_CANT_ADD 0xE030FF71 #define ISO_FILE_CANT_ADD 0xE030FF71

View File

@ -164,6 +164,7 @@ const char *iso_error_to_msg(int errcode)
case ISO_FILE_CANT_WRITE: case ISO_FILE_CANT_WRITE:
return "File read error during image creation"; return "File read error during image creation";
case ISO_FILENAME_WRONG_CHARSET: case ISO_FILENAME_WRONG_CHARSET:
case ISO_FILENAME_WRONG_CHARSET_OLD:
return "Cannot convert filename to requested charset"; return "Cannot convert filename to requested charset";
case ISO_FILE_CANT_ADD: case ISO_FILE_CANT_ADD:
return "File cannot be added to the tree"; return "File cannot be added to the tree";