Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Fishier code in handlefeatures



mod_export int
handlefeatures(Module m, Features f, int **enables)
{
    if (!enables || *enables)
      return setfeatureenables(m, f, *enables);
    *enables = getfeatureenables(m, f);
    return 0;
}

so if enables is NULL, we immediately do *enables? I'm not sure what's
intended here but obviously it somehow works.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author