#38726: sscanf bug. Open Date: 2018-11-05 09:47 Last Update: 2018-11-05 09:47 URL for this Ticket: https://osdn.net//projects/mingw/ticket/38726 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38726 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2018-11-05 09:47 Updated by: pedro_izecksohn * New Ticket "sscanf bug." created --------------------------------------------------------------------- Ticket Status: Reporter: pedro_izecksohn Owner: (None) Type: Issues Status: Open Priority: 5 - Medium MileStone: (None) Component: WSL Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: #include <stdio.h> #include <stdlib.h> int main() { unsigned char p, q; int res = sscanf ("3;8", "%hhu;%hhu", &p, &q); if ((res!=2) ||(p!=3)||(q!=8)) return EXIT_FAILURE; return EXIT_SUCCESS; } -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net//projects/mingw/ticket/38726 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38726