Problem: Misplaced comment in readfile().
(after v9.1.1139)
Solution: Move the comment above S_ISDIR().
(zeertzjq)
closes: #16714
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
}
#if defined(UNIX) || defined(VMS)
if (!read_stdin && fname != NULL)
- /*
- * On Unix it is possible to read a directory, so we have to
- * check for it before the mch_open().
- */
perm = mch_getperm(fname);
#endif
# endif
)
{
+ /*
+ * On Unix it is possible to read a directory, so we have to
+ * check for it before the mch_open().
+ */
if (S_ISDIR(perm))
{
filemess(curbuf, fname, (char_u *)_(msg_is_a_directory), 0);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1141,
/**/
1140,
/**/