Mercurial > pidgin
view po/README @ 5431:49f857d4b754
[gaim-migrate @ 5811]
Tim Mooney (enchanter) writes:
"In src/protocols/jabber/jabber.c, in the function
`jabber_xfer_read',
sscanf is called like such:
sscanf(lenstr, "Content-Length: %d", &size);
The problem is that `size' is of type `size_t', which
is always the largest
integral type size supported on your platform.
That means on 32 bit platforms, it's either a long or
an int (they're the
same, 32 bits wide), and using %d as the format is ok.
On 64 bit platforms, size_t will be a long, so using %d
isn't sufficient.
Since size_t is always as big as a `long' on every
platform, even 32 bit
platforms, there should be no problem switching the
format to %ld.
That will fix the problem for 64 bit platforms, and
shouldn't cause any
change on 32 bit platforms.
Patch is attached. The problem was detected and
warned about by the
vendor compiler on the 64 bit platform I'm using, Tru64
UNIX."
since it still compiles here, i'm putting this in
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 18 May 2003 13:12:37 +0000 |
parents | ea261ce36f0b |
children | 3becf79500d2 |
line wrap: on
line source
Translation README Updated: 19-April-2003 ------------------ To supply a new translation, you first need a copy of gaim.pot. This can be built by typing: ./update.pl --pot from the gaim/po/ directory. To update an exsting translation, type: ./update.pl LANG.po where LANG is the language code to update, such as fr or ja. This will build a new gaim.pot and update the translation with the changes. You may then begin editing the updated file. New or updated translations should be sent to the gaim-devel listserv (see http://lists.sourceforge.net/lists/listinfo/gaim-devel) Please check your translations carefully. Make sure you have the same number of newlines and %s or other formatting codes in the translation as you have in the original.