Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gst
on May 7, 2011
|
parent
|
context
|
favorite
| on:
The Fc.exe command does not work when files differ...
I guess it's a simply off-by-one error. Most likely they are reading the file data into buffers of size 128, but then only compare the first 127 characters of each buffer (e.g., because they use < instead of <= in their loop).
rudiger
on May 7, 2011
[–]
There are two hard problems in computer science: cache invalidation, naming things, and off-by-one errors.
ajross
on May 8, 2011
|
parent
[–]
You forgot sign bugs. It's very, very important that you have an
even
number of them. Many developers forget.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: