Changeset 4387
- Timestamp:
- 03/05/09 13:15:43 (3 years ago)
- Files:
-
- trunk/lib/compiler/gdc/memory.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/compiler/gdc/memory.d
r2292 r4387 242 242 else version( GC_Use_Data_Proc_Maps ) 243 243 { 244 private import tango.stdc.posix.fcntl; 245 private import tango.stdc.posix.unistd; 246 private import tango.stdc.string; 244 247 version = GC_Use_Dynamic_Ranges; 245 248 } … … 370 373 void* end; 371 374 372 p = buf ;375 p = buf.ptr; 373 376 if (fd != -1) 374 377 { … … 376 379 { 377 380 e = p + count; 378 p = buf ;381 p = buf.ptr; 379 382 while (true) 380 383 { … … 437 440 { 438 441 count = p - s; 439 memmove(buf , s, count);442 memmove(buf.ptr, s, count); 440 443 p = buf.ptr + count; 441 444 break;












