[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ben Pfaff
Subject: SSIZE_MAX
Date: Sat, 03 Jun 2006 14:35:04 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Gnulib includes a module for ssize_t, but it doesn't ensure that
SSIZE_MAX is available.  It seems that an ssize_t.h header file
with the following contents would be sufficient:

    #include <limits.h>

    #ifndef SSIZE_MAX
    # define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2))

A few of the source files in lib/ already include something like
"If a person keeps faithfully busy each hour of the working day, he
 can count on waking up some morning to find himself one of the
 competent ones of his generation."
--William James

reply via email to

[Prev in Thread] Current Thread [Next in Thread]