mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +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
|
#endif
|
||||||
|
|
||||||
//filewrite enable & we allowed to create/close files
|
//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
|
//close file pointers
|
||||||
if(sfilefd[ithread]){
|
if(sfilefd[ithread]){
|
||||||
fclose(sfilefd[ithread]);
|
fclose(sfilefd[ithread]);
|
||||||
sfilefd[ithread] = 0;
|
sfilefd[ithread] = 0;
|
||||||
}
|
}
|
||||||
cprintf(RED,"createnewfile 222:\n");
|
|
||||||
//create file
|
//create file
|
||||||
if(!overwriteEnable){
|
if(!overwriteEnable){
|
||||||
if (NULL == (sfilefd[ithread] = fopen((const char *) (completeFileName[ithread]), "wx"))){
|
if (NULL == (sfilefd[ithread] = fopen((const char *) (completeFileName[ithread]), "wx"))){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user