Y
Hacker News
new
|
ask
|
show
|
jobs
by
mikeash
4181 days ago
Did you adjust the offset like I said you would probably need to?
1 comments
mfukar
4181 days ago
I can't see any changes in `safercopy` or in the calling code you provided - only the invocations from the shell showing the prog terminating.
link
mikeash
4181 days ago
My point is that the offset value needed to produce the described behavior depends on various implementation-specific things, so that constant may need to be altered when trying the code on other compilers, OSes, or CPU architectures.
link