>> From: Michael Wirtz <wirtz@fh-brandenburg.de>
>> snprintf() seems to be a GNU extension (well, my Linux man page says so...)
>> In my infinite greenness I changed:
>> - snprintf((f->set[i].body->name = GC_MALLOC_ATOMIC(j)), j,
>> - "%s_%d", f->name, i);
>>
>> to:
>>
>> + sprintf((f->set[i].body->name = GC_MALLOC_ATOMIC(j)),
>> + "%s_%d", f->name, i);
This problem has been already fixed in w3m-0.1.7(develoer's version.
It has some bugs).
ftp://ei5nazha.yz.yamagata-u.ac.jp/w3m/dev/w3m-0.1.7.tar.gz
snprintf() has been replaced with Sprintf() function which is similar
to sprintf of Perl or Ruby, and returns a pointer of `Str' (see Str.c).
ex.)
snprintf((f->set[i].body->name = GC_MALLOC_ATOMIC(j)), j,
"%s_%d", f->name, i);
-> f->set[i].body->name = Sprintf("%s_%d", f->name, i)->ptr
Thanks.
-----------------------------------
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
http://www2u.biglobe.ne.jp/~hsaka/
This archive was generated by hypermail 2b29 : Wed Jul 19 2000 - 10:30:43 CDT