RoadMapNotes
(14:47:56) M`cc`: it seems prepared for 64bit filesizes (14:48:28) M`cc`: I think the only thing that needs fixing is the parameter passing between pike and C (14:48:59) M`cc`: afaik, pike passes numbers greater than 32bit as bignum 14:49:52) M`cc`: so I think that around nb_send.c:360 it should check for bignum (14:50:16) M`cc`: and check the value for the 64bit range /* Set the input file (file object, (max) bytes to read ) */ static void f_input(INT32 args) { NBIO_INT_T len = -1; struct svalue * input; get_all_args("Caudium.nbio.input", args, "%*.%l", &input, &len); if(input->type != T_OBJECT) { SIMPLE_BAD_ARG_ERROR("_Caudium.nbio()->input", 1, "object"); } new_input(*input, len, 0); pop_n_elems(args-1); }
Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |