Opened 18 years ago

Closed 18 years ago

#5833 closed defect (fixed)

Glib getpwuid_r Warning

Reported by: mellon85@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: mij@…
Port:

Description

GLib return the error:

GLib-WARNING : getpwuid_r(): failed due to: Result too large

to lopster on startup. This is caused because the buffer allocated is too little, but using sysconf [as long as what posix standard says] the maximum size neeeded for the buffer can be identified before of calling the function, thus avoiding this failure.

Change History (2)

comment:1 Changed 18 years ago by toby@…

Component: basedports

comment:2 Changed 18 years ago by olegb@…

Resolution: fixed
Status: newclosed

this should be fix it revision 5 of glib1

Note: See TracTickets for help on using tickets.