cvs commit: ports/devel/glib12 Makefile ports/devel/glib12/files patch-gutils.c

Joe Marcus Clarke marcus at
Sat Apr 19 03:15:30 PDT 2003

marcus      2003/04/19 03:15:29 PDT

  FreeBSD ports repository

  Modified files:
    devel/glib12         Makefile 
  Added files:
    devel/glib12/files   patch-gutils.c 
  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 at>
  Revision  Changes    Path
  1.52      +1 -1      ports/devel/glib12/Makefile
  1.1       +10 -0     ports/devel/glib12/files/patch-gutils.c (new)

More information about the cvs-ports mailing list