Changeset 10950
- Timestamp:
- 11/19/11 22:45:15 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/jeongo9/components/writeBytestoFile/writeBytestoFile.cpp
r10558 r10950 31 31 { 32 32 dataIn_0 = new standardInterfaces_i::realChar_p("inputBits"); 33 start(); 33 /// open destination file if not opened 34 destinationFileOpen = false; 35 if(!destinationFileOpen){ 36 destinationFD = open(OUTPUT_FILE, O_CREAT|O_RDWR, S_IRWXU|S_IROTH); 37 destinationFileOpen = true; 38 } 39 if(destinationFileOpen) 40 start(); 34 41 } 35 42 … … 107 114 { 108 115 DEBUG(3, writeBytestoFile, "initialize() invoked") 109 destinationFileOpen = false;110 116 } 111 117