Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14565 > unrolled thread
| Started by | Christian Weisgerber <naddy@mips.inka.de> |
|---|---|
| First post | 2018-09-09 21:54 +0200 |
| Last post | 2018-09-09 21:54 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: examples/loadables/finfo.c type problems Christian Weisgerber <naddy@mips.inka.de> - 2018-09-09 21:54 +0200
| From | Christian Weisgerber <naddy@mips.inka.de> |
|---|---|
| Date | 2018-09-09 21:54 +0200 |
| Subject | Re: examples/loadables/finfo.c type problems |
| Message-ID | <mailman.565.1536523044.1284.bug-bash@gnu.org> |
Chet Ramey:
> > printf("%ld\n", (long) st->st_size);
> >
> > which potentially truncate values.
>
> Pretty much all the systems bash runs on these days have 64-bit longs.
> How big a file do you have? But the fix is the same as above.
32-bit platforms (IA-32, ARMv7) are still around. And BSD has had
64-bit off_t on 32-bit architectures for about a quarter century.
--
Christian "naddy" Weisgerber naddy@mips.inka.de
Back to top | Article view | gnu.bash.bug
csiph-web