[alsa-devel] [PATCH 1/1] seq: arecordmidi: Add num-events option
Takashi Sakamoto
o-takashi at sakamocchi.jp
Tue Jan 29 09:45:02 CET 2019
Hi,
On Mon, Jan 28, 2019 at 09:34:59PM -0800, Prashant Malani wrote:
> Can I duplicate this in arecordmidi.c ? I'm loath to introduce a
> header, and then refactor axfer/main.c.
I don't mind it.
When parsing string with non-numeric characters, the behaviour of
atoi() is undefined still in C11.
$ cd alsa-utils.git
$ git grep atoi | grep optarg | wc
39 158 1919
Mmm... Many parts are written without enough care of the undefined
behaviour...
Thanks
Takashi Sakamoto
More information about the Alsa-devel
mailing list