Mercurial > pidgin
annotate pidgin.desktop.in @ 21613:31101e7d275f
'man 3 ctime' says of localtime() (and friends):
"The return value points to a statically allocated struct which might be
overwritten by subsequent calls to any of the date and time functions.
The localtime_r() function does the same, but stores the data in a
user-supplied struct."
purple_str_to_time() had multiple calls to date and time functions,
although I didn't experience any problems in my testing I figured it would
be better to use localtime_r() and provide our own struct.
I hope I got this right. At least 'make check' still works :)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Thu, 22 Nov 2007 16:45:38 +0000 |
parents | ed4ea63c0b45 |
children | 394a6c9b592c 1694eb347a78 |
rev | line source |
---|---|
15478 | 1 [Desktop Entry] |
2 Encoding=UTF-8 | |
3 _Name=Pidgin Internet Messenger | |
4 _GenericName=Internet Messenger | |
5 _Comment=Send instant messages over multiple protocols | |
6 Exec=pidgin | |
16438
ed4ea63c0b45
pidgin.png -> pidgin, to always find appropriate sizes.
Hylke Bons <hylkebons@gmail.com>
parents:
15478
diff
changeset
|
7 Icon=pidgin |
15478 | 8 StartupNotify=true |
9 Terminal=false | |
10 Type=Application | |
11 Categories=Network;InstantMessaging; |