Content deleted Content added
→External links modified: fixing Lint errors in signatures (Task 2) |
Tag: |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
{{WikiProject
{{WikiProject Computing|importance=low
|science=yes
|science-importance=low
}}
}}
Line 13 ⟶ 15:
::: At least for me the example in C does '''NOT''' work. i doubled checked it, but still believe, that i did not make a mistake. the problematic section is shown below. this causes a segmentation fault in my environment (gcc-4.1.3). --[[User:Alex.blackbit|Alex.blackbit]] 18:32, 1 November 2007 (UTC)
<
if (last != input)
last[1] = 0;
</syntaxhighlight>
:::: Alex, this is with strings that don't need trimming? Yeh, last should have been initialized with ret before the loop. I'm fine with just dropping the code though, if it wasn't just a line count thing. [[User:Nevyn|James Antill]] 16:03, 6 November 2007 (UTC)
|