@@ -43,7 +43,7 @@ void pack_dirname(my_string to, const char *from)
43
43
(void ) intern_filename (to ,from ); /* Change to intern name */
44
44
45
45
#ifdef FN_DEVCHAR
46
- if ((start = strrchr (to ,FN_DEVCHAR )) != 0 ) /* Skipp device part */
46
+ if ((start = strrchr (to ,FN_DEVCHAR )) != 0 ) /* Skip device part */
47
47
start ++ ;
48
48
else
49
49
#endif
@@ -131,7 +131,7 @@ uint cleanup_dirname(register my_string to, const char *from)
131
131
from_ptr = (my_string ) from ;
132
132
#ifdef FN_DEVCHAR
133
133
if ((pos = strrchr (from_ptr ,FN_DEVCHAR )) != 0 )
134
- { /* Skipp device part */
134
+ { /* Skip device part */
135
135
length = (uint ) (pos - from_ptr )+ 1 ;
136
136
start = strnmov (buff ,from_ptr ,length ); from_ptr += length ;
137
137
}
@@ -195,7 +195,7 @@ uint cleanup_dirname(register my_string to, const char *from)
195
195
pos -- ; /* Remove dupplicate '/' */
196
196
}
197
197
else if (pos - start > 1 && pos [-1 ] == FN_CURLIB && pos [-2 ] == FN_LIBCHAR )
198
- pos -= 2 ; /* Skipp /./ */
198
+ pos -= 2 ; /* Skip /./ */
199
199
else if (pos > buff + 1 && pos [-1 ] == FN_HOMELIB && pos [-2 ] == FN_LIBCHAR )
200
200
{ /* Found ..../~/ */
201
201
buff [0 ]= FN_HOMELIB ;
@@ -409,7 +409,7 @@ uint system_filename(my_string to, const char *from)
409
409
libchar_found = 0 ;
410
410
(void ) strmov (buff ,from ); /* If to == from */
411
411
from_pos = buff ;
412
- if ((pos = strrchr (from_pos ,FN_DEVCHAR ))) /* Skipp device part */
412
+ if ((pos = strrchr (from_pos ,FN_DEVCHAR ))) /* Skip device part */
413
413
{
414
414
pos ++ ;
415
415
to_pos = strnmov (to ,from_pos ,(size_s ) (pos - from_pos ));
@@ -419,7 +419,7 @@ uint system_filename(my_string to, const char *from)
419
419
to_pos = to ;
420
420
421
421
if (from_pos [0 ] == FN_CURLIB && from_pos [1 ] == FN_LIBCHAR )
422
- from_pos += 2 ; /* Skipp './' */
422
+ from_pos += 2 ; /* Skip './' */
423
423
if (strchr (from_pos ,FN_LIBCHAR ))
424
424
{
425
425
* (to_pos ++ ) = FN_C_BEFORE_DIR ;
@@ -487,7 +487,7 @@ my_string intern_filename(my_string to, const char *from)
487
487
488
488
convert_dirname (buff ,from ,NullS ); /* change '<>' to '[]' */
489
489
from_pos = buff ;
490
- if ((pos = strrchr (from_pos ,FN_DEVCHAR ))) /* Skipp device part */
490
+ if ((pos = strrchr (from_pos ,FN_DEVCHAR ))) /* Skip device part */
491
491
{
492
492
pos ++ ;
493
493
to_pos = strnmov (to ,from_pos ,(size_s ) (pos - from_pos ));
0 commit comments