Update for double filerecord announces
This commit is contained in:
parent
27822b7d24
commit
a30295d56b
@ -44,6 +44,7 @@ v0.51.4 11-Apr-2004
|
||||
Added new experimental files database code which will only be
|
||||
used if configured with --enable-experiment.
|
||||
Another small change for double filename announces.
|
||||
Change file open mode for double filename announces.
|
||||
|
||||
mbfile:
|
||||
The toberep command now logs the toberep.data in the debug
|
||||
|
@ -48,7 +48,7 @@ int Add_ToBeRep(struct _filerecord report)
|
||||
|
||||
fname = calloc(PATH_MAX, sizeof(char));
|
||||
sprintf(fname, "%s/etc/toberep.data", getenv("MBSE_ROOT"));
|
||||
if ((tbr = fopen(fname, "a+")) == NULL) {
|
||||
if ((tbr = fopen(fname, "r+")) == NULL) {
|
||||
WriteError("$Can't create %s", fname);
|
||||
free(fname);
|
||||
return FALSE;
|
||||
|
Reference in New Issue
Block a user