* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.
Change its value to match the installation path of cons.saver. * cons.handler.c: Adjust for the above.
Этот коммит содержится в:
родитель
b0ced33741
Коммит
9b774d1b7d
@ -1,3 +1,9 @@
|
|||||||
|
2006-01-30 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.
|
||||||
|
Change its value to match the installation path of cons.saver.
|
||||||
|
* cons.handler.c: Adjust for the above.
|
||||||
|
|
||||||
2006-01-30 Pavel Tsekov <ptsekov@gmx.net>
|
2006-01-30 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
* boxes.c: Do not set the field `histname' of `QuickWidget'
|
* boxes.c: Do not set the field `histname' of `QuickWidget'
|
||||||
|
@ -8,7 +8,7 @@ bin_PROGRAMS = mc mcmfmt
|
|||||||
if CONS_SAVER
|
if CONS_SAVER
|
||||||
pkglibexec_PROGRAMS = cons.saver
|
pkglibexec_PROGRAMS = cons.saver
|
||||||
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\" \
|
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\" \
|
||||||
-DLIBDIR=\""$(pkglibdir)"\"
|
-DSAVERDIR=\""$(pkglibexecdir)"\"
|
||||||
else
|
else
|
||||||
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\"
|
AM_CPPFLAGS = -DDATADIR=\""$(pkgdatadir)/"\" -DLOCALEDIR=\""$(localedir)"\"
|
||||||
endif
|
endif
|
||||||
|
@ -142,7 +142,7 @@ handle_console_linux (unsigned char action)
|
|||||||
open ("/dev/null", O_WRONLY);
|
open ("/dev/null", O_WRONLY);
|
||||||
if (tty_name) {
|
if (tty_name) {
|
||||||
/* Exec the console save/restore handler */
|
/* Exec the console save/restore handler */
|
||||||
mc_conssaver = concat_dir_and_file (LIBDIR, "cons.saver");
|
mc_conssaver = concat_dir_and_file (SAVERDIR, "cons.saver");
|
||||||
execl (mc_conssaver, "cons.saver", tty_name, (char *) NULL);
|
execl (mc_conssaver, "cons.saver", tty_name, (char *) NULL);
|
||||||
}
|
}
|
||||||
/* Console is not a tty or execl() failed */
|
/* Console is not a tty or execl() failed */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user