-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
thanks a lot, that was a quick reaction :) Kind regards Ralf On 06/05/13 20:13, Stephen Kitt wrote: > Hi Ralf, > > On Sat, 04 May 2013 19:07:04 +0200, Ralf Jung <p...@ralfj.de> > wrote: >> Is there any reason not to do this? const char *device_file_name >> = "/dev/input/event0"; > >> and then, in the argument parsing loop > >> device_file_name = argv[i]; > >> argv is on the main thread's stack, so it should be safe to use >> as long as the program runs. And that variable is only read from, >> never written to. So there's actually no reason to make a copy at >> all. > > Thanks, that's what I've pushed upstream. I'll release a new > version soon and upload it to unstable! > > Regards, > > Stephen > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJRiMRAAAoJEEAdTZ0mjB1WPTAIAMJ+VTAzeMaW+RZ2Ol7+Lyhs EpyZtVMFZwlocFR8UXETvw3ySvb0l9WeratezuuUOnKxd1f81UTJl+dN5/7RyILx 1bsj5tW+V58k9gQsAX1L18S1IqNHidFQtEV17j51TKc1KBfDQR5C7xkQqxCRtsDQ bb0Z5527bqdILyagV1yHKUFa3AM/Ts+RW6nNZauqW7kojDIjkgV7reuuW4AVX2HZ HFPLuPe5gWdyZSEFsMi4d96922RejIfjpsjgA/Ocz0Hqga2ddKU330XbamV/9tdr gtMGreLKYkW/yOamFz3f2+1neQ1IAGPh3tYsdfNsZB/g46gcldaOIl/q1CgIz9c= =eDf0 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org