summaryrefslogtreecommitdiff
path: root/sys/src/9/zynq
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-18 03:13:50 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-18 03:13:50 +0200
commit58dc03cec0df3cf569f73ea90d71f17e6a3dc84d (patch)
tree89b5471097c59b358f82c1f7d1336ccaece19bc2 /sys/src/9/zynq
parentb48078c12cdf0e3b718e38102b7548c14bed33a4 (diff)
kernel: do not inherit Proc.dot (current working directory) in kproc()
making sure to close the dot in every kproc appears repetitive, so instead stop inheriting the dot in kproc() as this is usually never what you wanted in the first place.
Diffstat (limited to 'sys/src/9/zynq')
-rw-r--r--sys/src/9/zynq/screen.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/9/zynq/screen.c b/sys/src/9/zynq/screen.c
index dbed776c9..fcf3a365c 100644
--- a/sys/src/9/zynq/screen.c
+++ b/sys/src/9/zynq/screen.c
@@ -116,10 +116,6 @@ cursorproc(void *arg)
up->seg[i] = arg;
- cclose(up->dot);
- up->dot = up->slash;
- incref(up->dot);
-
hwcursor.proc = up;
if(waserror()){
hwcursor.addr = 0;
@@ -204,10 +200,6 @@ screenproc(void *arg)
up->seg[sno] = arg;
- cclose(up->dot);
- up->dot = up->slash;
- incref(up->dot);
-
fbscreen.proc = up;
if(waserror()){
fbscreen.addr = 0;