Date: Sat, 19 Apr 2003 03:15:29 -0700 (PDT) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel/glib12 Makefile ports/devel/glib12/files patch-gutils.c Message-ID: <200304191015.h3JAFTLD025959@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcus 2003/04/19 03:15:29 PDT
FreeBSD ports repository
Modified files:
devel/glib12 Makefile
Added files:
devel/glib12/files patch-gutils.c
Log:
getpw*_r is now implemented in -CURRENT. However, the _SC_GETPW_R_SIZE_MAX
sysconf is not. This causes glib to try and malloc UINT_MAX bytes of memeory
which basically translates to -1 bytes. Sanity check the value returned by
sysconf (_SC_GETPW_R_SIZE_MAX) to see that it's really implemented. This
fixes an abort people started to see in Glib-based applications.
Reported by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>
Revision Changes Path
1.52 +1 -1 ports/devel/glib12/Makefile
1.1 +10 -0 ports/devel/glib12/files/patch-gutils.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304191015.h3JAFTLD025959>
