mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 06:07:00 +00:00
ash patch: initvar-diff
This commit is contained in:
parent
1a6986699f
commit
9a218bf979
@ -11940,7 +11940,7 @@ initvar() {
|
|||||||
* PS1 depends on uid
|
* PS1 depends on uid
|
||||||
*/
|
*/
|
||||||
if ((vps1.flags & VEXPORT) == 0) {
|
if ((vps1.flags & VEXPORT) == 0) {
|
||||||
vpp = hashvar("PS1=");
|
vpp = hashvar("PS1=$");
|
||||||
vps1.next = *vpp;
|
vps1.next = *vpp;
|
||||||
*vpp = &vps1;
|
*vpp = &vps1;
|
||||||
vps1.text = xstrdup(geteuid() ? "PS1=$ " : "PS1=# ");
|
vps1.text = xstrdup(geteuid() ? "PS1=$ " : "PS1=# ");
|
||||||
@ -12470,7 +12470,7 @@ findvar(struct var **vpp, const char *name)
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
|
||||||
* This file contains code for the times builtin.
|
* This file contains code for the times builtin.
|
||||||
* $Id: ash.c,v 1.43 2001/12/31 06:12:48 aaronl Exp $
|
* $Id: ash.c,v 1.44 2001/12/31 06:13:38 aaronl Exp $
|
||||||
*/
|
*/
|
||||||
static int timescmd (int argc, char **argv)
|
static int timescmd (int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user