Files
ladybird/Userland/Utilities
Tim Ledbetter ea411774f0 truncate: Clamp file size to 0 when using the -s option
When using the `-s` option to reduce the size of a file, the file size
is now set to zero if the argument given would result in a file
size less than zero.

This matches the behavior of truncate on Linux and FreeBSD.
2023-07-26 08:42:05 +02:00
..
2023-04-22 07:17:08 +02:00
2023-02-13 00:50:07 +00:00
2023-04-22 07:17:08 +02:00
2023-04-22 07:17:08 +02:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-05-24 23:18:07 +02:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-04-17 19:29:20 -04:00
2023-05-14 15:44:39 -06:00
2023-02-13 00:50:07 +00:00
2023-07-05 08:34:51 +02:00
2023-05-22 10:24:08 +02:00
2023-07-12 10:11:24 +03:30
2023-02-13 00:50:07 +00:00
2023-02-13 00:50:07 +00:00
2023-07-24 11:00:01 -04:00
2023-02-13 00:50:07 +00:00
2023-07-19 06:52:06 +02:00
2023-05-13 17:05:05 +02:00
2023-07-08 13:14:50 +01:00