• Max Kellermann's avatar
    input_stream: use "goffset" instead of "off_t" · 727c301f
    Max Kellermann authored
    The "off_t" type may change when you enable or disable large file
    support on 32 bit platforms.  This caused severe ABI problems within
    MPD when we enabled LFS for the first time: two sources included
    config.h and sys/types.h in different order, and had different off_t
    sizes - leading to memory corruption because of ABI incompatibility.
    This patch attempts to get rid of all public "off_t" uses: it removes
    "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit
    "goffset" type.  This may hurt 32 bit embedded platforms a tiny bit,
    but that's not even measurable.
    727c301f
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...