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

PATCH: Prevent circular module aliases



The check that zmodload -A performs to prevent the creation of circular
alias chains is not thorough enough:

    % zmodload -A A=B B=C B=A
    % zmodload -A
    A -> B
    B -> A
    % zmodload A
    <stack overflow>

I've fixed that.

Regards,
Thorsten Dahlheimer

Attachment: zmodload2.patch
Description: Binary data



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