#8: Done
I'm now of the opinion that this is done at the wrong level in the stack and needs to be redone later; but it works for now. There's a regression in `open`, but I can't see why.
This commit is contained in:
parent
0687b0baeb
commit
f36436a9e1
12 changed files with 134 additions and 41 deletions
|
|
@ -12,7 +12,7 @@
|
|||
#include <string.h>
|
||||
|
||||
|
||||
int index_of( char c, char *s ) {
|
||||
int index_of( char c, const char *s ) {
|
||||
int i;
|
||||
|
||||
for ( i = 0; s[i] != c && s[i] != 0; i++ );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue