Changeset 6f15121
- Timestamp:
- Jul 16, 2019, 10:39:11 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 2026bb6, 8e87f37
- Parents:
- e67991f (diff), a87d40b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
re67991f r6f15121 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sun Jul 14 11:51:10201913 // Update Count : 34 712 // Last Modified On : Mon Jul 15 18:11:26 2019 13 // Update Count : 349 14 14 // 15 15 … … 165 165 166 166 static ofstream soutFile = { (FILE *)(&_IO_2_1_stdout_) }; 167 ofstream & sout = soutFile ;167 ofstream & sout = soutFile, & stdout = soutFile; 168 168 static ofstream serrFile = { (FILE *)(&_IO_2_1_stderr_) }; 169 ofstream & serr = serrFile ;169 ofstream & serr = serrFile, & stderr = serrFile; 170 170 171 171 static ofstream exitFile = { (FILE *)(&_IO_2_1_stdout_) }; … … 267 267 268 268 static ifstream sinFile = { (FILE *)(&_IO_2_1_stdin_) }; 269 ifstream & sin = sinFile ;269 ifstream & sin = sinFile, & stdin = sinFile; 270 270 271 271 // Local Variables: // -
libcfa/src/fstream.hfa
re67991f r6f15121 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 12 12:03:54201913 // Update Count : 16 512 // Last Modified On : Mon Jul 15 18:10:23 2019 13 // Update Count : 167 14 14 // 15 15 … … 73 73 void ?{}( ofstream & os, const char * name ); 74 74 75 extern ofstream & sout, & s err;75 extern ofstream & sout, & stdout, & serr, & stderr; // aliases 76 76 extern ofstream & exit, & abort; 77 77 … … 102 102 void ?{}( ifstream & is, const char * name ); 103 103 104 extern ifstream & sin ;104 extern ifstream & sin, & stdin; // aliases 105 105 106 106 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.