bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* Modules xsize and idx
@ 2021-04-07  7:57 Marc Nieper-Wißkirchen
  2021-04-07  9:51 ` Bruno Haible
  0 siblings, 1 reply; 6+ messages in thread
From: Marc Nieper-Wißkirchen @ 2021-04-07  7:57 UTC (permalink / raw)
  To: bug-gnulib@gnu.org List

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

What is the relationship between these two modules? Both try to minimize
subtle bugs due to overflow.

However, both approaches cannot be easily combined as xsize expects
unsigned integers while idx is a signed one.

What is the suggested use of these modules for new code?

Thanks,

Marc

[-- Attachment #2: Type: text/html, Size: 890 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-07 21:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07  7:57 Modules xsize and idx Marc Nieper-Wißkirchen
2021-04-07  9:51 ` Bruno Haible
2021-04-07 11:00   ` Marc Nieper-Wißkirchen
2021-04-07 18:28     ` Paul Eggert
2021-04-07 21:01       ` xalloc.h use idx_t Bruno Haible
2021-04-07 21:12         ` Marc Nieper-Wißkirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).