commit fd9efb21290105057ee7a26134070ae0130cdc7a
parent fbb983f25f2d15d10fb878ee24116cb76ce1dee1
Author: glenda <glenda@9front.local>
Date: Thu, 26 Aug 2021 10:44:51 +0000
commit forgotten devfs.c
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/devfs.c b/devfs.c
@@ -38,7 +38,6 @@ devfs_write(Req *r)
File *f;
f = r->fid->file;
if (f == cons){
-// Object *obj;
Array *a;
a = arraycreate(sizeof(char), r->ifcall.count, nil);
arraygrow(a, r->ifcall.count, r->ifcall.data);
@@ -46,16 +45,6 @@ devfs_write(Req *r)
r->ofcall.count = r->ifcall.count;
-// obj = objectcreate();
-// mkobjectftree(obj, fsctl->tree->root);
-// objinsertbeforelast(obj);
-
-// arrayinsert(rich.text, olast->offset,
-// r->ifcall.count,
-// r->ifcall.data);
-// olast->offset += r->ifcall.count;
-
-// nbsend(redrawc, &obj);
respond(r, nil);
} else if (f == consctl) {
respond(r, "not implemented");