diff options
Diffstat (limited to 'source/ap/ash/patches/ash-ppid.patch')
-rw-r--r-- | source/ap/ash/patches/ash-ppid.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/ap/ash/patches/ash-ppid.patch b/source/ap/ash/patches/ash-ppid.patch deleted file mode 100644 index 954b509d..00000000 --- a/source/ap/ash/patches/ash-ppid.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -ur ash-0.4.0/var.c ash-0.4.0-ppid/var.c ---- ash-0.4.0/var.c Tue Apr 24 01:23:17 2001 -+++ ash-0.4.0-ppid/var.c Tue Apr 24 01:22:07 2001 -@@ -172,6 +172,7 @@ - const struct varinit *ip; - struct var *vp; - struct var **vpp; -+ char ppid[30]; - - for (ip = varinit ; (vp = ip->var) != NULL ; ip++) { - if ((vp->flags & VEXPORT) == 0) { -@@ -193,6 +194,9 @@ - vps1.text = strdup(geteuid() ? "PS1=$ " : "PS1=# "); - vps1.flags = VSTRFIXED|VTEXTFIXED; - } -+ -+ snprintf(ppid, 29, "%ld", (long)getppid()); -+ setvar("PPID", ppid, VREADONLY|VNOFUNC); - } - - /* |