Public bug reported: given text input from file as:
10000, 020,0xf123456abaff123a, ... while(!feof(pat)){ fscanf(pat," %llu%*[ ,\n]",&conv); // should convert decimal, octal, or hex notation, but this is not the case...chokes on 'x' using %llx does convert hex, but converts everything else as hex too (which is not the desired behavior). (some of the *[ ... notation to discard commas and white space may not be optimized) has this behavior been addressed, or is this an incorrect understanding of the %u specifier? ** Affects: glibc (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/1074164 Title: llu fails for hex in fscanf To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1074164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs