Mercurial > vim
comparison src/os_riscos.c @ 416:3da34f87c760
updated for version 7.0109
author | vimboss |
---|---|
date | Mon, 18 Jul 2005 21:40:44 +0000 |
parents | 8f3a526c2fe1 |
children | 07d199fe02ed |
comparison
equal
deleted
inserted
replaced
415:165c628aa9fc | 416:3da34f87c760 |
---|---|
521 int len; | 521 int len; |
522 { | 522 { |
523 if (xswi(OS_ReadVarVal, "Machine$Name", s, len, 0, 3) & v_flag) | 523 if (xswi(OS_ReadVarVal, "Machine$Name", s, len, 0, 3) & v_flag) |
524 { | 524 { |
525 /* Variable does not exist (normal operation) */ | 525 /* Variable does not exist (normal operation) */ |
526 STRNCPY(s, "(unknown)", len); | 526 vim_strncpy(s, "(unknown)", len - 1); |
527 } | 527 } |
528 } | 528 } |
529 | 529 |
530 /* | 530 /* |
531 * return process ID | 531 * return process ID |