Branch: Tag:

2000-09-15

2000-09-15 13:26:15 by Peter Bortas <zino@lysator.liu.se>

bad test in joinnode fixed; a joinnode module can now
contain the value zero or anything else that returns true on `!

(backported from 7.1)

Rev: lib/master.pike.in:1.117

1:   /* -*- Pike -*-    * -  * $Id: master.pike.in,v 1.116 2000/04/14 16:39:35 hubbe Exp $ +  * $Id: master.pike.in,v 1.117 2000/09/15 13:26:15 peter Exp $    *    * Master-file for Pike.    *
724:    {    // Only join directorynodes (or joinnodes).    res += ({ ret }); -  } else if ( ret ) { +  } else if ( !zero_type(ret) ) {    return (ret);    } else {    // Ignore