gamgi_io_error.c (gamgi-all-0.17.4x) | : | gamgi_io_error.c (gamgi-all-0.17.5x) | ||
---|---|---|---|---|
skipping to change at line 276 | skipping to change at line 276 | |||
gamgi_gtk_dialog_message_create ("Error", message, window); | gamgi_gtk_dialog_message_create ("Error", message, window); | |||
return FALSE; | return FALSE; | |||
} | } | |||
gamgi_bool gamgi_io_error_header (const char *identifier, | gamgi_bool gamgi_io_error_header (const char *identifier, | |||
char *filename, int fileline, gamgi_window *window) | char *filename, int fileline, gamgi_window *window) | |||
{ | { | |||
char message[GAMGI_ENGINE_LINE]; | char message[GAMGI_ENGINE_LINE]; | |||
char shortname[GAMGI_ENGINE_LINE]; | char shortname[GAMGI_IO_SHORTNAME]; | |||
/************************************************** | /************************************************** | |||
* identifier is wrong, it could be anything. * | * identifier is wrong, it could be anything. * | |||
* Regarding its size, the only guarantee * | * Regarding its size, the only guarantee * | |||
* at this stage is that it is not larger than * | * at this stage is that it is not larger than * | |||
* GAMGI_EXPAT_BUFFER, which is usually a large * | * GAMGI_EXPAT_BUFFER, which is usually a large * | |||
* number (equal to BUFSIZ by default, which * | * number (equal to BUFSIZ by default, which * | |||
* is defined in most systems as 8192). Copying * | * is defined in most systems as 8192). Copying * | |||
* only its first GAMGI_IO_SHORTNAME char (and * | * only its first GAMGI_IO_SHORTNAME char (and * | |||
* filling with '\0' unused positions) guarantees * | * filling with '\0' unused positions) guarantees * | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |