Hello community, here is the log from the commit of package less checked in at Fri Apr 7 16:55:37 CEST 2006. -------- --- less/less.changes 2006-02-06 14:29:01.000000000 +0100 +++ less/less.changes 2006-04-07 12:50:51.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Apr 7 12:55:52 CEST 2006 - mmarek@suse.cz + +- don't use $SHELL for running external commands to avoid + side-effects caused by $SHELL's startup scripts + [#158044, #164041] (shell.patch) + +------------------------------------------------------------------- New: ---- less-394-shell.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ less.spec ++++++ --- /var/tmp/diff_new_pack.OQvSfl/_old 2006-04-07 16:54:38.000000000 +0200 +++ /var/tmp/diff_new_pack.OQvSfl/_new 2006-04-07 16:54:38.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -20,7 +20,7 @@ Requires: file Autoreqprov: on Version: 394 -Release: 2 +Release: 8 Summary: Text File Browser and Pager Similar to more URL: http://www.greenwoodsoftware.com/less/ Source: %{name}-%{version}.tar.bz2 @@ -34,6 +34,7 @@ Patch23: %{name}-%{version}-mouse.patch Patch24: %{name}-%{version}-terminate.patch Patch25: %{name}-%{version}-widechars.patch +Patch26: %{name}-%{version}-shell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -56,6 +57,7 @@ %patch23 %patch24 %patch25 +%patch26 # # the ./configure script is not writable for the normal user # rather fix permissions for all files @@ -101,6 +103,10 @@ %{prefix}/bin/* %changelog -n less +* Fri Apr 07 2006 - mmarek@suse.cz +- don't use $SHELL for running external commands to avoid + side-effects caused by $SHELL's startup scripts + [#158044, #164041] (shell.patch) * Mon Feb 06 2006 - mmarek@suse.cz - fix editing of wide characters in search prompt (regression caused by dropping iso patch) ++++++ less-394-shell.patch ++++++ --- filename.c +++ filename.c @@ -560,7 +560,7 @@ #if HAVE_SHELL char *shell; - shell = lgetenv("SHELL"); + shell = lgetenv("LESSSHELL"); if (shell != NULL && *shell != '\0') { char *scmd; --- less.hlp +++ less.hlp @@ -94,7 +94,7 @@ ___<_n_a_m_e_> Display the setting of an option, by name. +_c_m_d Execute the less cmd each time a new file is examined. - !_c_o_m_m_a_n_d Execute the shell command with $SHELL. + !_c_o_m_m_a_n_d Execute the shell command with $LESSSHELL. |XX_c_o_m_m_a_n_d Pipe file between current pos & mark XX to shell command. v Edit the current file with $VISUAL or $EDITOR. V Print version number of "less". --- less.nro +++ less.nro @@ -376,7 +376,7 @@ A pound sign (#) is replaced by the name of the previously examined file. "!!" repeats the last shell command. "!" with no shell command simply invokes a shell. -On Unix systems, the shell is taken from the environment variable SHELL, +On Unix systems, the shell is taken from the environment variable LESSSHELL, or defaults to "sh". On MS-DOS and OS/2 systems, the shell is the normal command processor. .IP "| <m> shell-command" @@ -1561,7 +1561,7 @@ .IP PATH User's search path (used to find a lesskey file on MS-DOS and OS/2 systems). -.IP SHELL +.IP LESSSHELL The shell used to execute the ! command, as well as to expand filenames. .IP TERM The type of terminal on which --- lsystem.c +++ lsystem.c @@ -124,7 +124,7 @@ */ #if HAVE_SHELL p = NULL; - if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') + if ((shell = lgetenv("LESSSHELL")) != NULL && *shell != '\0') { if (*cmd == '\0') p = save(shell); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...