Lines 1201-1208
Link Here
|
1201 |
out_uint32_le(out, filestat.st_size); /* filesize low */ |
1201 |
out_uint32_le(out, filestat.st_size); /* filesize low */ |
1202 |
out_uint32_le(out, 0); /* filesize high */ |
1202 |
out_uint32_le(out, 0); /* filesize high */ |
1203 |
out_uint32_le(out, file_attributes); |
1203 |
out_uint32_le(out, file_attributes); |
1204 |
out_uint8(out, 2 * strlen(pdirent->d_name) + 2); /* unicode length */ |
1204 |
out_uint16(out, 2 * strlen(pdirent->d_name) + 2); /* unicode length */ |
1205 |
out_uint8s(out, 7); /* pad? */ |
1205 |
out_uint8s(out, 6); /* pad? */ |
1206 |
out_uint8(out, 0); /* 8.3 file length */ |
1206 |
out_uint8(out, 0); /* 8.3 file length */ |
1207 |
out_uint8s(out, 2 * 12); /* 8.3 unicode length */ |
1207 |
out_uint8s(out, 2 * 12); /* 8.3 unicode length */ |
1208 |
rdp_out_unistr(out, pdirent->d_name, 2 * strlen(pdirent->d_name)); |
1208 |
rdp_out_unistr(out, pdirent->d_name, 2 * strlen(pdirent->d_name)); |