mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
for now, leaving as before the background colors
This commit is contained in:
parent
96284fde87
commit
1825ebd426
@ -1555,14 +1555,14 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
||||
#endif
|
||||
|
||||
//filewrite enable & we allowed to create/close files
|
||||
if(fileWriteEnable && cbAction > DO_NOTHING){cprintf(RED,"createnewfile11:\n");
|
||||
if(fileWriteEnable && cbAction > DO_NOTHING){
|
||||
|
||||
//close file pointers
|
||||
if(sfilefd[ithread]){
|
||||
fclose(sfilefd[ithread]);
|
||||
sfilefd[ithread] = 0;
|
||||
}
|
||||
cprintf(RED,"createnewfile 222:\n");
|
||||
|
||||
//create file
|
||||
if(!overwriteEnable){
|
||||
if (NULL == (sfilefd[ithread] = fopen((const char *) (completeFileName[ithread]), "wx"))){
|
||||
|
Loading…
x
Reference in New Issue
Block a user