Changeset 1502 for trunk/dll/copyf.c
- Timestamp:
- Mar 31, 2010, 4:54:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/copyf.c
r1480 r1502 26 26 22 Jul 09 GKY Delete .LONGNAME EA if it becomes the filename on a copy or move. 27 27 19 Oct 09 SHL Correct copyf regression when moving to save volume 28 31 Mar 10 JBS Correct copyf which was creating 8.4, not 8.3, temporary names 28 29 29 30 ***********************************************************************/ … … 96 97 switch (type) { 97 98 case 0: 98 sprintf(p, "%08lx.%03lx", rand() & 4095L, mypid);99 sprintf(p, "%08lx.%03lx", mypid, rand() & 4095L); // 4095 = 0x0FFF 99 100 break; 100 101 case 1: 101 sprintf(p, "%s%04lx.%03lx", "$FM2", rand() & 4095L, mypid);102 sprintf(p, "%s%04lx.%03lx", "$FM2", mypid, rand() & 4095L); // 4095 = 0x0FFF 102 103 break; 103 104 case 2: 104 sprintf(p, "%s.%03x", temproot, (rand() & 4095)); 105 sprintf(p, "%s.%03x", temproot, (rand() & 4095)); // 4095 = 0x0FFF 105 106 break; 106 107 default:
Note:
See TracChangeset
for help on using the changeset viewer.