Branch: Tag:

2015-03-18

2015-03-18 14:30:04 by 0

Fix negated test that broke native sendfile() for Stdio.File objects.

962:    } else if (!(sf.from = get_storage(sf.from_file, file_program))) {    struct svalue *sval;    if (!(sval = get_storage(sf.from_file, file_ref_program)) || -  !(TYPEOF(*sval) != T_OBJECT) || +  (TYPEOF(*sval) != T_OBJECT) ||    !(sf.from = get_storage(sval->u.object, file_program))) {    SIMPLE_BAD_ARG_ERROR("sendfile", 2, "object(Stdio.File)");    }