Re: [PATCH 1/1] seq: arecordmidi: Add num-events option

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

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux