News for hackers. Stuff that matters.
Re:Debian switches to 64-bit time for everything by loloquwowndueo on Monday July 28, 2025 @07:29AM (#44709770)
Ever heard of xargs?
Re:Debian switches to 64-bit time for everything by amelius on Monday July 28, 2025 @07:33AM (#44709795)
Sure. But it's not the same thing (instead of invoking the command once it invokes a command multiple times) and a workaround at best. And ergonomics are not great. Especially if you first type the command without xargs, and then find out the argument list is too long and you'll have to reformulate it but now with xargs.
Re:Debian switches to 64-bit time for everything by styanax on Monday July 28, 2025 @07:57AM (#44709966)
The ARGS_MAX (`getconf ARGS_MAX`) is defined at the OS level (glibc maybe? haven't looked); xargs will also be subject to it's limitation like all other processes. One can use:

    xargs --show-limits --no-run-if-empty </dev/null
...to see a nicely formatted output include the -2048 POSIX recommendation on a separate line.
Re:Debian switches to 64-bit time for everything by jcelerier on Monday July 28, 2025 @07:35AM (#44709812)
How does that help with a GCC command line?
Re:Debian switches to 64-bit time for everything by tomsmeding on Monday July 28, 2025 @07:40AM (#44709848)
You may already know this, but GCC supports option files: see "@file" at the bottom of this page https://gcc.gnu.org/onlinedocs/gcc/Overall-Options.html .

This does not detract from the point that having to use this is inconvenient, but it's there as a workaround.