Commit 11aaf5c8 authored by Daniel Black's avatar Daniel Black Committed by Sergey Vojtovich

add EE_BADMEMORY_RELEASE

parent 5e86b2ee
......@@ -69,7 +69,8 @@ extern const char *globerrs[]; /* my_error_messages is here */
#define EE_CANT_SEEK 33
#define EE_CANT_CHMOD 34
#define EE_CANT_COPY_OWNERSHIP 35
#define EE_ERROR_LAST 35 /* Copy last error nr */
#define EE_BADMEMORYRELEASE 36
#define EE_ERROR_LAST 36 /* Copy last error nr */
/* Add error numbers before EE_ERROR_LAST and change it accordingly. */
......
......@@ -55,7 +55,8 @@ const char *globerrs[GLOBERRS]=
"Can't change permissions of the file '%s' (Errcode: %M)",
"Can't seek in file '%s' (Errcode: %M)",
"Can't change mode for file '%s' to 0x%lx (Errcode: %M)",
"Warning: Can't copy ownership for file '%s' (Errcode: %M)"
"Warning: Can't copy ownership for file '%s' (Errcode: %M)",
"Failed to release memory pointer %p, %zu bytes (Errcode: %M)"
};
void init_glob_errs(void)
......@@ -101,6 +102,7 @@ void init_glob_errs()
EE(EE_CANT_SEEK) = "Can't seek in file '%s' (Errcode: %M)";
EE(EE_CANT_CHMOD) = "Can't change mode for file '%s' to 0x%lx (Errcode: %M)";
EE(EE_CANT_COPY_OWNERSHIP)= "Warning: Can't copy ownership for file '%s' (Errcode: %M)";
EE(EE_BADMEMORYRELEASE)= "Failed to release memory pointer %p, %zu bytes (Errcode: %M)";
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment