Skip to content

BUG - String subtraction in aa_doprocessing #285

Open

Description

@AljenU

The following code in aa_doprocessing appears to contain a bug. TODO: Check whether indeed bad.
msg(1:length(msg-2)) is probably meant to be msg(1:length(msg)-2)

        if (strcmp(task,'doit'))
            if (alldone)
                aas_log(aap,false,sprintf('- done: %s for all %s',description,domain));
            else
                if (length(msg)>2)
                    msg=msg(1:length(msg-2));
                end

Activity

  1. tiborauer commented on Nov 8, 2021

    @tiborauer
    Member

    It is a bug, indeed. Good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions