Anonymous | Login | Signup for a new account | 2024-11-22 13:39 CET |
My View | View Issues | Change Log | Roadmap | Search |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000541 | CLE/P | 1. CLE | public | 2014-08-13 11:16 | 2014-08-13 11:26 | ||||
Reporter | Falk Reichbott | ||||||||
Assigned To | Falk Reichbott | ||||||||
Priority | immediate | Severity | major | Reproducibility | sometimes | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | General | OS | General | OS Version | General | ||||
Product Version | 1.1 | ||||||||
Target Version | 1.1 | Fixed in Version | 1.1 | ||||||
Summary | 0000541: Enviroment variable to define the config file don't work properly | ||||||||
Description | Sometime the definition of the config file name over the environment variable works fine sometimes not! | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
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 |