pkgsrc-WIP-review archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg_select upgrade
- To: Kibum Han <yui%yui.pe.kr@localhost>
- Subject: Re: pkg_select upgrade
- From: Jachym Holecek <freza%liberouter.org@localhost>
- Date: Thu, 17 Mar 2005 07:29:41 +0100 See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_PARATHESES_OPEN BODY: Text interparsed with ( 0.0 SF_CHICKENPOX_PARATHESES_CLOSE BODY: Text interparsed with ) 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_BRACKET_OPEN BODY: Text interparsed with [ 0.0 SF_CHICKENPOX_UNDERSCORE BODY: Text interparsed with _ 0.0 SF_CHICKENPOX_EQUAL BODY: Text interparsed with = 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ -0.0 AWL AWL: From: address is in the auto white-list
> Build failed on NetBSD/amd64.
>
> [...]
>
> I think we have two options.
> Casting a variable to int in pkgselect source code or in ctype.h
>
> Option #1 would be like this:
> In ftpio.c file,
> - if (ftprc && isdigit(buf[match.rm_so+1]))
> + if (ftprc && isdigit((int)buf[match.rm_so+1]))
>
> And here is option #2:
> In /usr/src/include/ctype.h file,
> -#define isdigit(c) ((int)((_ctype_ + 1)[(c)] & _N))
> +#define isdigit(c) ((int)((_ctype_ + 1)[(int)(c)] & _N))
isdigit(3) says the prototype is "int isdigit(int c);", so #1 would seem
correct.
Regards,
-- Jachym Holecek
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
Home |
Main Index |
Thread Index |
Old Index