-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: hackvr action: commit revision: path_from: revision_from: 18b410a40c5e73c6f63dadfb4cc9755745a08270: path_to: revision_to:
commit 18b410a40c5e73c6f63dadfb4cc9755745a08270 Author: epoch <epoch@thebackupbox.net> Date: Wed Aug 17 22:12:41 2022 -0500 removed nonblocktail. it now lives as an example of libidc. which is a dependency of hackvr anyway. diff --git a/src/nonblocktail.c b/src/nonblocktail.c deleted file mode 100644 index 329f01d9330325190c109ef37ae8e5dc2c521156..0000000000000000000000000000000000000000 --- a/src/nonblocktail.c +++ /dev/null @@ -1,22 +0,0 @@ -#include <stdio.h> -#include <idc.h> -#include <fcntl.h> - -extern struct idc_global idc; - -void handler(struct shit *me,char *line) { - if(!line) return; - if(line) printf("%s\n",line); -} - -int main(int argc,char *argv[]) { - int i; - setvbuf(stdout,NULL,_IOLBF,0); - for(i=0;i<100;i++) { - idc.fds[i].fd=-1; - } - for(argv++,argc--;argc;argc--,argv++) { - idc.fds[add_fd(open(*argv,O_RDONLY),handler)].keep_open=1; - } - select_on_everything(); -}
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:34:58 2024