Menu

#3 Patches by Andrey

open
nobody
Core (3)
5
2008-05-30
2005-02-26
No

Sent by Andrey Lovetski <ALovetski@nsi.ru>:

Hello!

Thank you very much for the tool you've written. I
successfully use it with Open Watcom 1.2. Here are the
bugs I've found and the corrections I had to make:

mss.h:
#define MSS_FUNCTION_MACRO __FUNCTION__

alloc.c, line 365 (I added "\n" at the end of the message):
mss_warn(MSS_WARN_IF_SHOW | MSS_WARN_SEPARATOR, "%s
(line %lu of %s) "
"tried to reallocate a block starting at %p using `%s' "
"that was not previously allocated.\n",
function, line, filename, ptr, method);

init.c (attached) - the fopen function modifies errno.
I included setting errno to EZERO so that MSS does not
set errno.

HTH,
Andrew Lovetski.

Discussion

  • Laurynas Biveinis

     
  • Laurynas Biveinis

    • assigned_to: lauras --> nobody
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.