mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
Apply some touchups
This commit is contained in:
parent
9f149e1de3
commit
2f3bd90216
139 changed files with 1188 additions and 1154 deletions
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
int ftruncate(int fd, int64_t length) {
|
||||
if (!IsWindows()) {
|
||||
return sys_ftruncate(fd, length);
|
||||
return sys_ftruncate(fd, length, length);
|
||||
} else {
|
||||
return sys_ftruncate_nt(fd, length);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue