Mercurial > vim
comparison src/os_win32.c @ 715:b526e10493b1
updated for version 7.0217
author | vimboss |
---|---|
date | Tue, 07 Mar 2006 22:29:51 +0000 |
parents | 0f9f4761ad9c |
children | a1a08851eac8 |
comparison
equal
deleted
inserted
replaced
714:0f9f4761ad9c | 715:b526e10493b1 |
---|---|
2615 | 2615 |
2616 return (perm != -1 && (!(perm & FILE_ATTRIBUTE_READONLY) | 2616 return (perm != -1 && (!(perm & FILE_ATTRIBUTE_READONLY) |
2617 || (perm & FILE_ATTRIBUTE_DIRECTORY))); | 2617 || (perm & FILE_ATTRIBUTE_DIRECTORY))); |
2618 } | 2618 } |
2619 | 2619 |
2620 #if defined(FEAT_EVAL) || defined(PROTO) | |
2621 /* | 2620 /* |
2622 * Return 1 if "name" can be executed, 0 if not. | 2621 * Return 1 if "name" can be executed, 0 if not. |
2623 * Return -1 if unknown. | 2622 * Return -1 if unknown. |
2624 */ | 2623 */ |
2625 int | 2624 int |
2661 if (executable_exists((char *)buf)) | 2660 if (executable_exists((char *)buf)) |
2662 return TRUE; | 2661 return TRUE; |
2663 } | 2662 } |
2664 return FALSE; | 2663 return FALSE; |
2665 } | 2664 } |
2666 #endif | |
2667 | 2665 |
2668 /* | 2666 /* |
2669 * Check what "name" is: | 2667 * Check what "name" is: |
2670 * NODE_NORMAL: file or directory (or doesn't exist) | 2668 * NODE_NORMAL: file or directory (or doesn't exist) |
2671 * NODE_WRITABLE: writable device, socket, fifo, etc. | 2669 * NODE_WRITABLE: writable device, socket, fifo, etc. |