News for hackers. Stuff that matters.
Re:Deconstructing K&R C (2010) by mikeash on Sunday January 04, 2015 @01:10PM (#8835220)
Did you adjust the offset like I said you would probably need to?
Re:Deconstructing K&R C (2010) by mfukar on Sunday January 04, 2015 @02:08PM (#8835414)
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.
Re:Deconstructing K&R C (2010) by mikeash on Sunday January 04, 2015 @04:07PM (#8835844)
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.