Public bug reported:

executable binary: readPYBase
         cpu arch: arm64

problem:


always show me the usage message,

regardless of the parameters specified


fcitx/tools/cli/readPYMB.c:
int main(int argc, char **argv)
{
    FILE *fi;
    int i, j;
    char *pyusrphrase_mb = NULL;

    struct _PYMB *PYMB;
    boolean isUser = true;
    char c;

    while ((c = getopt(argc, argv, "f:sh")) != -1) {   // ==>   patch: ....  != 
 (char)-1 ) {
        switch (c) {

        case 'f':
            pyusrphrase_mb = strdup(optarg);
            break;

        case 's':
            isUser = false;
            break;

        case 'h':

        default:
            usage();
        }
    }

** Affects: fcitx (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064933

Title:
  readPYBase in fcitx-tools.deb fail to run on arm64 platform

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fcitx/+bug/2064933/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to