[Pkg-tigervnc-devel] Bug#849963: Bug#849963: tigervnc-standalone-server: Syntax error in /usr/bin/tigervncserver
Joachim Falk
joachim.falk at gmx.de
Mon Jan 2 19:34:42 UTC 2017
Dear Maik,
Am 02.01.2017 um 18:22 schrieb Maik Zumstrull:
> Package: tigervnc-standalone-server
> Version: 1.7.0-2
> Severity: normal
>
>
> In line 705, in the code path for the -fg option, the script does:
>
> system $cmd[0] (@cmd);
>
> This will lead to a "Can't use string as a subroutine ref" error with
> current Perl releases. The correct syntax is
I am on it. I am also in the process of updating our start
script for proper X509None, X509Vnc, X509Plain support. I will
see if we can auto generate a certificate for such uses if not
already present or specified on the command line.
>
> system { $cmd[0] } (@cmd);
>
> or
>
> system { $cmd[0] } @cmd;
>
> The final parentheses are optional but not harmful. The braces are very
> not optional. In defense of the author, the Perl documentation for
> "system" doesn't indicate this at all; it's in the documentation for the
> related "exec" function.
>
> _______________________________________________
> Pkg-tigervnc-devel mailing list
> Pkg-tigervnc-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tigervnc-devel
>
Regards,
Joachim Falk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-tigervnc-devel/attachments/20170102/1ba95fe2/attachment.sig>
More information about the Pkg-tigervnc-devel
mailing list