chx opened issue baryshev/TreeRoute#2
@chx
preg_quote
chx pushed to master at chx/ykgodot
@chx
chx commented on issue chx/http-fs-wrapper#1
@chx

Hrm, do we run into getc? If we do... well that's not implemented either...

chx commented on issue chx/http-fs-wrapper#1
@chx

You have push access. If you want , you can continue with this code trying to figure out or try this version int counter = -1; char *c, *newbuf; do…

chx reopened issue chx/http-fs-wrapper#1
@chx
Doesn't work with interdiff
chx commented on issue chx/http-fs-wrapper#1
@chx

Yes

chx commented on issue chx/http-fs-wrapper#1
@chx

Except it doesn't read past the first block. If you have time plz look at it if not I'll poke at it.

@chx
@chx
chx commented on issue chx/http-fs-wrapper#1
@chx

It works now. That was fun.

chx closed issue chx/http-fs-wrapper#1
@chx
Doesn't work with interdiff
@chx
  • @chx 028146f
    some cleanup, error handling
@chx
@chx
@chx
chx commented on pull request hoaproject/Math#16
@chx

Closing in favor of #23

chx opened pull request hoaproject/Math#23
@chx
change CartesianProduct to be associative
1 commit with 55 additions and 50 deletions
chx created branch cartesian at chx/Math
@chx
chx commented on issue chx/http-fs-wrapper#1
@chx

dup2 is needed. It is used to point stdin to the relevant file. It's easy to revert the revert. But that's not enough, because... The failure is in

@chx
  • @chx 747e943
    Revert "add dup2 support"
chx commented on issue chx/http-fs-wrapper#1
@chx

Try for eg. #chx on freenode.

chx commented on issue chx/http-fs-wrapper#1
@chx

I set a breakpoint there: 936 ret = fdopen (fildes[0], mode); (gdb) next 937 if (!ret) (gdb) next 936 ret = fdopen (fildes[0], mode); (gdb) next 93…

chx commented on issue chx/http-fs-wrapper#1
@chx

I have a much better idea than dup2: fdopen. https://github.com/twaugh/patchutils/blob/master/src/diff.c#L936 look here.

chx commented on issue chx/http-fs-wrapper#1
@chx

That's odd. Does cat work? Are you on IRC so we can chat?

chx commented on issue chx/http-fs-wrapper#1
@chx

I added dup2 support but it doesn't seem to be enough. Also, gcc -Wall -nostartfiles -fpic -shared -o httpfs.so httpfs.c func32.c -ldl $(curl-confi…

chx deleted branch fcntl at chx/http-fs-wrapper
@chx
@chx master is now f1d81c3