[3941] in testers

home help back first fref pref prev next nref lref last post

xss-command can't find xss-demo

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Apr 7 14:28:57 1999

To: testers@MIT.EDU, source-reviewers@MIT.EDU
Date: Wed, 07 Apr 1999 14:28:41 EDT
From: Garry Zacheiss <zacheiss@MIT.EDU>

	Under 8.3, xss-command fails to find the xss-demo executable,
which it looks for if run with the -demo or -prefs flags, and instead
dies with this error:

[zacheiss@baloo] ~> xss-command -demo
xss-command: could not exec xscreensaver-demo: No such file or directory

	so it looks like we missed at least one place while renaming the
program.  This change fixed the problem for me.

Garry

Index: xscreensaver-command.c
===================================================================
RCS file: /afs/dev/source/repository/third/xscreensaver/driver/xscreensaver-command.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 xscreensaver-command.c
*** xscreensaver-command.c      1999/03/31 22:01:24     1.1.1.2
--- xscreensaver-command.c      1999/04/07 17:52:24
***************
*** 205,211 ****
        (cmd == &XA_DEMO && arg == 0))
      {
        char buf [512];
!       char *new_argv[] = { "xscreensaver-demo", 0, 0, 0, 0, 0 };
        int ac = 1;
  
        if (dpyname)
--- 205,211 ----
        (cmd == &XA_DEMO && arg == 0))
      {
        char buf [512];
!       char *new_argv[] = { "xss-demo", 0, 0, 0, 0, 0 };
        int ac = 1;
  
        if (dpyname)

home help back first fref pref prev next nref lref last post