Modified the warning in database/DBio.c that says "Cannot open file
for writing!" so that it actually tells you what is the name of the file that it is trying to write.
This commit is contained in:
parent
19dd5638d6
commit
13ab2c3e59
|
|
@ -2986,7 +2986,7 @@ DBCellWrite(cellDef, fileName)
|
|||
if (realf == NULL)
|
||||
{
|
||||
cellDef->cd_flags |= CDMODIFIED;
|
||||
TxError("Warning: Cannot open file for writing!\n");
|
||||
TxError("Warning: Cannot open file \"%s\" for writing!\n", expandname);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -2994,7 +2994,7 @@ DBCellWrite(cellDef, fileName)
|
|||
if (thestat.st_size != DBFileOffset)
|
||||
{
|
||||
cellDef->cd_flags |= CDMODIFIED;
|
||||
TxError("Warning: I/O error in writing file\n");
|
||||
TxError("Warning: I/O error in writing file \"%s\"\n", expandname);
|
||||
}
|
||||
fclose(realf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue