Changeset 1560
- Timestamp:
- 05/26/10 14:21:56 (15 years ago)
- Files:
-
- trunk/docsrc/changelog.dd (modified) (1 diff)
- trunk/phobos/std/file.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docsrc/changelog.dd
r1555 r1560 14 14 $(LI $(BUGZILLA 2738): Rebindable should work for interfaces.) 15 15 $(LI $(BUGZILLA 2835): std.socket.TcpSocket doesn't actually connect) 16 16 $(LI $(BUGZILLA 3088): std.xml.check() fails on xml comments) 17 17 $(LI $(BUGZILLA 3200): std.xml doesn't follow spec for Tag.text) 18 18 $(LI $(BUGZILLA 3465): isIdeographic can be wrong in std.xml) 19 19 $(LI $(BUGZILLA 3653): Problem sorting array of Rebindable) 20 20 $(LI $(BUGZILLA 3786): bug in std.string.removechars) 21 21 $(LI $(BUGZILLA 3873): std.range.repeat should have popBack defined) 22 22 $(LI $(BUGZILLA 3880): std.regex functions with const/immutable Regex object) 23 23 $(LI $(BUGZILLA 4109): writeln doesn't work with empty static array) 24 $(LI $(BUGZILLA 4188): std.file.remove throws Exception on success) 24 25 $(LI $(BUGZILLA 4202): Changset 1517 doesn't compile) 25 26 $(LI $(BUGZILLA 4228): std.array.replace contains 2 bugs) 26 27 $(LI $(BUGZILLA 4219): hasAliasing does not care about immutable) 27 28 ) 28 29 ) 29 30 30 31 <div id=version> 31 32 $(UL 32 33 $(NEW 047) 33 34 $(NEW 046) trunk/phobos/std/file.d
r1519 r1560 160 160 this.errno = errno; 161 161 } 162 162 } 163 163 164 164 private T cenforce(T, string file = __FILE__, uint line = __LINE__) 165 165 (T condition, lazy const(char)[] name) 166 166 { 167 167 if (!condition) 168 168 { 169 169 throw new FileException( 170 text("In ", file, "(", line, "), data file ", name) , .getErrno);170 text("In ", file, "(", line, "), data file ", name)); 171 171 } 172 172 return condition; 173 173 } 174 174 175 175 /* ********************************** 176 176 * Basic File operations. 177 177 */ 178 178 179 179 /******************************************** 180 180 Read entire contents of file $(D name).
