> FreeBSD added memrchr to its libc a couple of weeks ago. The system one uses > size_t for the len argument; the 9vx one long. Changing that to unsigned > long probably would make the compiler happy but would most likely choke the > linker up. I chickened out and just commented out the definition in chan.c. > Another approach could be to rename memrchr to memrchr9 or the like. By the > way, drawterm and inferno are affected by that, too.
This function is used exactly one time in the same file (~30 lines below). What kind (version) of OS does not have memrchr?
