Re: [9fans] bug or feature ? --- ip/ping -6

2016-01-04 Thread Anthony Martin
erik quanstrom once said: > unfortunately, the simlification removes the code that solves an important > use case. it's important to be able to specify the protocol or network stack, > such as in > > ip/ping /net.alt/icmp!someaddress Most commands use an -x option

Re: [9fans] bug or feature ? --- ip/ping -6

2016-01-04 Thread erik quanstrom
> erik quanstrom once said: > > unfortunately, the simlification removes the code that solves an important > > use case. it's important to be able to specify the protocol or network > > stack, > > such as in > > > > ip/ping /net.alt/icmp!someaddress > > Most

Re: [9fans] bug or feature ? --- ip/ping -6

2016-01-04 Thread erik quanstrom
> "most" commands do not. for example, > > cpu -h /net.alt/tcp!ladd.quanstro.net > it turns out i had a bit of extra time since it's too icy to leave the house. :-( anyway, here are all the programs that take -x mntpt, as determined by the man pages. vnc(1) vncs

[9fans] subtracting pointers on amd64 6c

2016-01-04 Thread cinap_lenrek
in the function /sys/src/cmd/cc/sub.c:/^arith we emit code that cast the 64-bit subtraction result to 32-bit LONG *before* doing the division of the sizeof of the pointer type. so when the pointers are more than 4gb apart, we will calculate the wrong result, even tho the result would have fit