Custom Query (31 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 31)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#23 fixed Default values were not written to NEPMD.INI Andreas Schnellbacher Andreas Schnellbacher
Description

After installation of NEPMD the EPM doesn't start with NEPMD settings. In contrast, the NEPMD program object 'Standard EPM' starts.

Renaming myepmd\bin\NEPMD.INI is a workaround for that. A new one is created on the next EPM start. The malfunctioning NEPMD.INI contains the entry:

RegDefaults -> \NEPMD\User\MovedUserFiles

while the correct temporary entry would be:

Install -> \NEPMD\User\MovedUserFiles

That explains why the RegDefaults? application wasn't written. It already contains (wrong) data. As a result, EPM won't start.

Additionally, that temporary entry is normally only written if the install script has copied previous files to a backup directory. The backup directory exists with the files etke603.dll and copydll.cmd. Normally they were deleted afterwards.

It seems as if patching etke603.dll to apply the NEPMD colors has failed at the end.

#25 fixed Potential memory leak Andreas Schnellbacher abwillis
Description

I ran cppcheck looking for possible uninitialized variables as I have seen crashes when doing a lot of scrolling. I did not find any but found a potential memory leak. I'll let you evaluate and decide if this is meaningful.

Index: src/gui/nepmdlib/nepmdlib.c
===================================================================
--- src/gui/nepmdlib/nepmdlib.c	(revision 2946)
+++ src/gui/nepmdlib/nepmdlib.c	(working copy)
@@ -1032,7 +1032,7 @@
          HCONFIG        hconfig;
 
          CHAR           szResult[ 20];
-         PMODEINFO      pmi = malloc( 1024);
+         PMODEINFO      pmi = NULL;
 
 FUNCENTER;
 
@@ -1076,6 +1076,8 @@
    } while (FALSE);
 
 FUNCEXITRC;
+if (pmi)
+  free( pmi);
 return _getRexxError( rc, pszBuffer, ulBuflen);
 }
 
#26 fixed Removing a key from its parent RegContainer value removes a zero char too much Andreas Schnellbacher Andreas Schnellbacher
Description

After executing

NepmdDeleteConfigTree \NEPMD\User\AutoRestore

the section RegKey is OK, but in RegContainer, the entry for \NEPMD\User was changed from

AutoRestore.AutoSave.Backup.Colors. ... .Toolbar.

to

AutoSaveBackup.Colors. ... .Toolbar.

(zero chars replaced by single dots).

The faulty function is _removeKeyFromContainerList of libreg.c, which exists for a long time.

The removed RegKeys are:

\NEPMD\User\AutoRestore\Ring\LoadLast
\NEPMD\User\AutoRestore\Ring\MaxFiles
\NEPMD\User\AutoRestore\Ring\SaveLast

The removed RegContainer keys are:

\NEPMD\User\AutoRestore\Ring
\NEPMD\User\AutoRestore

It may have relevance that two container levels were removed.

Luckily, this bug didn't appear until now. It has to be fixed before the deletion of a tree will be added to ImportUserTextConfig, triggered by a DELETE: value in user.cfg.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.