Re:C, Fortran, and single-character strings
by 0xffff2 on Friday June 21, 2019 @04:58PM
(#20246264)
I've never used FORTRAN, so I'm just going off of my reading of the article. It looks to me like the correct requirement is that the C source code itself include the string length, and that developer have not been doing so.
[ Parent
| on HN ]
Oh I see. I was thinking that calls to Fortran functions were actually recognizable by the compiler, but you're right, the code snippet right at the top shows a manually-inserted strlen(s) in the C code.