[Pidgin] #15442: Tcl plugin doesn't read the Tcl source files
Pidgin
trac at pidgin.im
Tue Jan 1 17:31:44 EST 2013
#15442: Tcl plugin doesn't read the Tcl source files
----------------------+--------------------------
Reporter: andrewsh | Owner: rekkanoryo
Type: defect | Status: new
Milestone: | Component: unclassified
Version: 2.10.6 | Keywords: patch
----------------------+--------------------------
For some reason at least for me fgets magic in the Tcl plugin doesn't
work, and it doesn't even read a byte. Instead of this overly complicated
code it's better to just call fread. Unfortunately, I don't have enough
time to investigate why does this happen, but the replacement works
flawlessly.
P.S. Also, it may make sense to check g_malloc return value, but I haven't
done this...
--
Ticket URL: <https://developer.pidgin.im/ticket/15442>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list