[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059873: glibc-doc-reference: 12.14.5 String Input Conversions: The ‘%[’ conversion requires 1 match



Package: glibc-doc-reference
Version: 2.31-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I used %s conversion to print a string to a file
and %7[^] conversion to scan it back.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

fscanf (tf, "%7[^]", b) == 01

   * What was the outcome of this action?

false

   * What outcome did you expect instead?

true

*** End of the template - remove these template lines ***


-- System Information:
Distributor ID:	Bunsenlabs
Description:	BunsenLabs GNU/Linux 11 (Beryllium)
Release:	11
Codename:	bullseye
Architecture: x86_64

Kernel: Linux 5.10.0-26-amd64 (SMP w/2 CPU threads)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information


Reply to: