Mercurial > vim
comparison src/os_unix.c @ 902:3c17f4d2196f v7.0.028
updated for version 7.0-028
author | vimboss |
---|---|
date | Thu, 22 Jun 2006 17:47:10 +0000 |
parents | 7bc38b35f1e8 |
children | b2dcb8457067 |
comparison
equal
deleted
inserted
replaced
901:f959cda54600 | 902:3c17f4d2196f |
---|---|
4969 * there. */ | 4969 * there. */ |
4970 len = STRLEN(p); | 4970 len = STRLEN(p); |
4971 if (((*file)[*num_file] = alloc(len + 2)) != NULL) | 4971 if (((*file)[*num_file] = alloc(len + 2)) != NULL) |
4972 { | 4972 { |
4973 STRCPY((*file)[*num_file], p); | 4973 STRCPY((*file)[*num_file], p); |
4974 if (!after_pathsep((*file)[*num_file] + len)) | 4974 if (!after_pathsep((*file)[*num_file], |
4975 (*file)[*num_file] + len)) | |
4975 { | 4976 { |
4976 (*file)[*num_file][len] = psepc; | 4977 (*file)[*num_file][len] = psepc; |
4977 (*file)[*num_file][len + 1] = NUL; | 4978 (*file)[*num_file][len + 1] = NUL; |
4978 } | 4979 } |
4979 } | 4980 } |