getty-generator: properly escape instance names
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 02:02:55 +0000 (22:02 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 02:04:29 +0000 (22:04 -0400)
commita2ae516a25dafe41e0cd296ab7b5d022fa62b95f
treebbade2b5c0f4aabd4b94d877168016b7c814acd1
parentf56506141cbf6391b0373108a2522ba771b25f4b
getty-generator: properly escape instance names

Otherwise the add_symlink() function tries to make directories for
each slash even for the slash after the @ symbol in the final link
name, failing for /dev/3270/tty1.

Based on a patch by Werner Fink <werner@suse.de>.
src/getty-generator/getty-generator.c