summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/mothra.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-10 06:55:54 +0100
committercinap_lenrek <cinap_lenrek@rei2.9hal>2012-03-10 06:55:54 +0100
commit3a83a68e0bd65e6609f067cd2d2c3acaa2364ff1 (patch)
tree5dfafb90fda6cc1692eefb14dfa804af01c03cbd /sys/src/cmd/mothra/mothra.c
parent093ca3a18224e6d17413cd5e85301741ab92313e (diff)
page: allow running external jpg(1) program for animated gifs, mothra: handle gif with page
Diffstat (limited to 'sys/src/cmd/mothra/mothra.c')
-rw-r--r--sys/src/cmd/mothra/mothra.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c
index 83de25a54..02b9faf23 100644
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -1020,17 +1020,6 @@ void geturl(char *urlname, int method, char *body, int plumb, int map){
setcurrent(i, selection->tag);
break;
case GIF:
- if(rfork(RFFDG|RFNOTEG|RFPROC|RFNAMEG|RFNOWAIT) == 0){
- snprint(cmd, sizeof(cmd), "-pid %d", getpid());
- if(newwindow(cmd) != -1){
- close(1); open("/dev/cons", OWRITE);
- print("reading gif...\n");
- filter("gif", fd);
- }
- exits(0);
- }
- close(fd);
- break;
case JPEG:
case PNG:
case BMP: