glib2

"Casey T. Deccio" <[email protected]>
Newsgroups gmane.network.nocat
Organization Sandia National Laboratories
Message-ID <[email protected]>
If there's interest, this patch ports the NoCatSplash-0.93pre release
code to glib2 (I gzipped it this time, hoping mailman would let it
through).  Some of the hash functions in util.c were removed because the
functionality is available natively in glib2.

Also, I made one other modification.  I had previously submitted a patch
for http_request_read because it wasn't getting the whole request if it
was broken up into more than one packet.  The code should have worked
okay how it was--before I modified it--but it didn't.  However, after
updating the glib library, I changed it back, and it seems to work okay.
The original code seems to be more efficient because it doesn't block
like my hack did, so I left it in.

FWIW the calls to g_io_channel_read/g_io_channel_write are deprecated
(at least according to glib-2.6.4 docs), but I couldn't get their
replacements (g_io_channel_read_chars/g_io_channel_write_chars) to work,
so they're still in there.  But they work how they are.

Casey

_______________________________________________
NoCat mailing list
[email protected]
http://lists.nocat.net/mailman/listinfo/nocat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.