Mercurial > pidgin
annotate gaim.pc.in @ 24065:85bed17fe5c1
The variable we use to keep track of the watcher of the ssl connection
should be unsigned. This isn't really a problem in Pidgin, where we
use glib's mainloop and GIOChannels because glib starts assigning the
handle IDs sequentially starting from 1.
But if an eventloop implementation ever returns a handle ID greater
than the largest possible signed integer (2,147,483,647) then we
won't be able to remove the watcher because purple_ssl_close() in
sslconn.c only removes it if inpa > 0, and since it interprets inpa
as a signed value then handles over 2,147,483,647 appear as negative
numbers.
I stumbled upon this when playing around with libevent, which can
use epoll. My implementation generated a random handle ID which
was sometimes greater than 2,147,483,647.
I don't believe this breaks binary compatibility. And I don't think
it breaks source compatibility, but I guess it might depend on what
compiler you're using.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 04 Sep 2008 18:04:29 +0000 |
parents | dde5bebd5fb4 |
children |
rev | line source |
---|---|
9364 | 1 prefix=@prefix@ |
2 exec_prefix=@exec_prefix@ | |
3 libdir=@libdir@ | |
4 includedir=@includedir@ | |
15598
32f954e8d8aa
We're getting warnings about not honoring datarootdir, so I figured I'd add it. I'm not sure what that might break, but this stuff will be getting reviewed when it's renamed anyway.
Richard Laager <rlaager@wiktel.com>
parents:
14191
diff
changeset
|
5 datarootdir=@datarootdir@ |
9364 | 6 datadir=@datadir@ |
10947 | 7 sysconfdir=@sysconfdir@ |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15598
diff
changeset
|
8 |
16181
dde5bebd5fb4
I think it's a good idea to mention Pidgin here, and that this is a compatibility layer.
Richard Laager <rlaager@wiktel.com>
parents:
15884
diff
changeset
|
9 Name: Pidgin (Gaim compatibility) |
dde5bebd5fb4
I think it's a good idea to mention Pidgin here, and that this is a compatibility layer.
Richard Laager <rlaager@wiktel.com>
parents:
15884
diff
changeset
|
10 Description: Pidgin is a GTK2-based instant messenger application. |
9364 | 11 Version: @VERSION@ |
12 Requires: glib-2.0 | |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15598
diff
changeset
|
13 Cflags: -I${includedir}/libpurple |
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15598
diff
changeset
|
14 Libs: -L${libdir} -lpurple |