|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Nicholas Marriott (nicm
cvs.openbsd.org)
Date: Wed Jul 08 2009 - 00:26:45 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: nicm
cvs.openbsd.org 2009/07/07 23:26:45
Modified files:
usr.bin/tmux : names.c tmux.1 tmux.c tmux.h window.c
Log message:
Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,
and some people may use shells which do not support it. Instead, make an empty
default-command option mean a login shell, and fork it with a - in argv[0]
which is the method used by login(1).
Also fix the automatic-rename code to handle this correctly and to strip a
leading - if present.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]