FLAM® Issue Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000541CLE/P1. CLEpublic2014-08-13 11:162014-08-13 11:26
ReporterFalk Reichbott 
Assigned ToFalk Reichbott 
PriorityimmediateSeveritymajorReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformGeneralOSGeneralOS VersionGeneral
Product Version1.1 
Target Version1.1Fixed in Version1.1 
Summary0000541: Enviroment variable to define the config file don't work properly
DescriptionSometime the definition of the config file name over the environment variable works fine sometimes not!
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000593)
Falk Reichbott (administrator)
2014-08-13 11:26

The reason the conversion of the program name to uppercase. The zero termination was missing. Based on that the program name was sometimes correct and sometimes not.

   for (i=0;pcPgm[i] && i<(sizeof(acPgm)-1);i++) acPgm[i]=toupper(pcPgm[i]);
   acPgm[i]=0;/*this line was missing*/
   sprintf(acEnv,"%s_CONFIG_FILE",acPgm);
   pcFil=getenv(acEnv);

Additional: the used config file is now written to pfOut.

- Issue History
Date Modified Username Field Change
2014-08-13 11:16 Falk Reichbott New Issue
2014-08-13 11:16 Falk Reichbott Status new => assigned
2014-08-13 11:16 Falk Reichbott Assigned To => Falk Reichbott
2014-08-13 11:26 Falk Reichbott Note Added: 0000593
2014-08-13 11:26 Falk Reichbott Status assigned => resolved
2014-08-13 11:26 Falk Reichbott Fixed in Version => 1.1
2014-08-13 11:26 Falk Reichbott Resolution open => fixed
2014-08-13 11:27 Falk Reichbott Note View State: 0000593: public


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker