]> git.alsa-project.org Git - alsa-lib.git/commit
control: Use strcpy() instead of stpcpy()
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 17 Jul 2012 10:00:14 +0000 (15:30 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Jul 2012 12:55:55 +0000 (14:55 +0200)
commitdf924cd9c5dd5ab079784faec344cdfd11f3147a
tree79293772ec471c1e5bb273e6b8a7d2a74fa37b10
parent86e27cdbf119440101a850e1b44baebfefe863ca
control: Use strcpy() instead of stpcpy()

This allows us to build in environments that don't provide stpcpy().
This makes it necessary to traverse the string twice, but should not be
noticeable in clients since this function is very unlikely to be part of
a performance-critical path.

[coding style fixed by tiwai]

Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/control.c