errno 238 lib/lock.c if (lockinfo->pid == 0 || !(kill (lockinfo->pid, 0) == -1 && errno == ESRCH)) errno 78 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); errno 94 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); errno 114 lib/strutil/strutil.c errno = 0; // FIXME: is it really needed? errno 365 lib/strutil/strutil.c return (errno == EINVAL) ? ESTR_PROBLEM : ESTR_FAILURE; errno 116 lib/strutil/xstrtol.c errno = 0; errno 127 lib/strutil/xstrtol.c else if (errno != 0) errno 129 lib/strutil/xstrtol.c if (errno != ERANGE) errno 2032 lib/tty/key.c if (flag == -1 && errno == EINTR) errno 199 lib/tty/tty.c if (errno != EINTR) errno 228 lib/tty/tty.c while (n > 0 || (n == -1 && errno == EINTR)); errno 162 lib/utilunix.c if (errno != EINTR) errno 243 lib/utilunix.c while (read_len < 0 && errno == EINTR); errno 249 lib/utilunix.c ps->error = errno; errno 652 lib/utilunix.c if (res < 0 && errno != EINTR) errno 657 lib/utilunix.c unix_error_string (errno)); errno 747 lib/utilunix.c while (res < 0 && errno == EINTR); errno 751 lib/utilunix.c unix_error_string (errno)); errno 1107 lib/utilunix.c errno = ENAMETOOLONG; errno 1173 lib/utilunix.c errno = ENAMETOOLONG; errno 1182 lib/utilunix.c errno = ELOOP; errno 1191 lib/utilunix.c if (errno != EINVAL) errno 1213 lib/utilunix.c errno = ENAMETOOLONG; errno 577 lib/vfs/direntry.c me->verrno = errno; errno 602 lib/vfs/direntry.c me->verrno = errno; errno 626 lib/vfs/direntry.c VFS_FILE_HANDLER_SUPER (fh)->me->verrno = errno; errno 1381 lib/vfs/direntry.c me->verrno = errno; errno 1440 lib/vfs/direntry.c me->verrno = errno; errno 1470 lib/vfs/direntry.c me->verrno = errno; errno 1674 lib/vfs/direntry.c if (n == -1 && errno == EINTR) errno 221 lib/vfs/interface.c errno = vfs_ferrno (me); errno 226 lib/vfs/interface.c errno = ENOTSUP; errno 248 lib/vfs/interface.c errno = me->name != NULL ? vfs_ferrno (me) : ENOTSUP; \ errno 279 lib/vfs/interface.c errno = me->symlink != NULL ? vfs_ferrno (me) : ENOTSUP; errno 303 lib/vfs/interface.c errno = vfs->name != NULL ? vfs_ferrno (vfs) : ENOTSUP; \ errno 327 lib/vfs/interface.c errno = EXDEV; \ errno 333 lib/vfs/interface.c errno = me1->name != NULL ? vfs_ferrno (me1) : ENOTSUP; \ errno 395 lib/vfs/interface.c errno = vfs_ferrno (vfs); errno 415 lib/vfs/interface.c errno = ENOTSUP; errno 422 lib/vfs/interface.c errno = path_element->class->opendir ? vfs_ferrno (path_element->class) : ENOTSUP; errno 456 lib/vfs/interface.c errno = EFAULT; errno 483 lib/vfs/interface.c errno = vfs->readdir ? vfs_ferrno (vfs) : ENOTSUP; errno 539 lib/vfs/interface.c errno = me->name ? vfs_ferrno (me) : ENOTSUP; \ errno 565 lib/vfs/interface.c errno = vfs_ferrno (me); errno 613 lib/vfs/interface.c errno = 0; errno 625 lib/vfs/interface.c errno = EINVAL; errno 631 lib/vfs/interface.c errno = ENOTSUP; errno 638 lib/vfs/interface.c errno = vfs_ferrno (me); errno 704 lib/vfs/interface.c errno = vfs->lseek ? vfs_ferrno (vfs) : ENOTSUP; errno 800 lib/vfs/interface.c buffer, unix_error_string (errno)); errno 820 lib/vfs/path.c errno = 0; errno 831 lib/vfs/path.c errno = EINVAL; errno 175 lib/vfs/vfs.c errno = EINVAL; errno 742 lib/vfs/vfs.c errno = ENOTSUP; errno 747 lib/vfs/vfs.c errno = EBADF; errno 754 lib/vfs/vfs.c errno = ENOTSUP; errno 759 lib/vfs/vfs.c errno = EBADF; errno 767 lib/vfs/vfs.c errno = ENOTSUP; errno 598 lib/widget/dialog.c if (chmod (profile, S_IRUSR | S_IWUSR) != -1 || errno == ENOENT) errno 540 src/background.c int saved_errno = errno; errno 546 src/background.c errno = saved_errno; errno 572 src/background.c while (dup2 (nullfd, STDIN_FILENO) == -1 && errno == EINTR) errno 574 src/background.c while (dup2 (nullfd, STDOUT_FILENO) == -1 && errno == EINTR) errno 576 src/background.c while (dup2 (nullfd, STDERR_FILENO) == -1 && errno == EINTR) errno 183 src/diffviewer/ydiff.c unix_error_string (errno)); errno 673 src/diffviewer/ydiff.c errno = 0; errno 675 src/diffviewer/ydiff.c if (errno != 0 || p == q) errno 2143 src/diffviewer/ydiff.c dview->file[n_merge], "~~~", unix_error_string (errno)); errno 2152 src/diffviewer/ydiff.c unix_error_string (errno)); errno 3516 src/diffviewer/ydiff.c unix_error_string (errno)); errno 3533 src/diffviewer/ydiff.c unix_error_string (errno)); errno 1233 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1237 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1241 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 704 src/editor/syntax.c if (errno == EINTR) errno 1563 src/editor/syntax.c unix_error_string (errno)); errno 832 src/filemanager/achown.c int my_errno = errno; errno 868 src/filemanager/achown.c int my_errno = errno; errno 1035 src/filemanager/achown.c unix_error_string (errno)); errno 1039 src/filemanager/achown.c unix_error_string (errno)); errno 305 src/filemanager/cd.c unix_error_string (errno)); errno 1092 src/filemanager/chattr.c int my_errno = errno; errno 1219 src/filemanager/chattr.c unix_error_string (errno)); errno 1244 src/filemanager/chattr.c unix_error_string (errno)); errno 419 src/filemanager/chmod.c int my_errno = errno; errno 570 src/filemanager/chmod.c unix_error_string (errno)); errno 286 src/filemanager/chown.c int my_errno = errno; errno 458 src/filemanager/chown.c unix_error_string (errno)); errno 192 src/filemanager/cmd.c while ((n1 = read (file1, buf1, sizeof (buf1))) == -1 && errno == EINTR) errno 194 src/filemanager/cmd.c while ((n2 = read (file2, buf2, sizeof (buf2))) == -1 && errno == EINTR) errno 324 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, _ ("link: %s"), unix_error_string (errno)); errno 363 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, _ ("symlink: %s"), unix_error_string (errno)); errno 780 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, "%s", unix_error_string (errno)); errno 1114 src/filemanager/cmd.c unix_error_string (errno)); errno 1122 src/filemanager/cmd.c unix_error_string (errno)); errno 466 src/filemanager/ext.c unix_error_string (errno)); errno 458 src/filemanager/file.c errno = 0; errno 1126 src/filemanager/file.c g_snprintf (buf, sizeof (buf), format, nfile1, nfile2, unix_error_string (errno)); errno 1297 src/filemanager/file.c errno = EXDEV; // Hack to copy (append) the file and then delete it errno 1299 src/filemanager/file.c if (errno != EXDEV) errno 1703 src/filemanager/file.c if (errno != EXDEV) errno 1834 src/filemanager/file.c unix_error_string (errno)); errno 2373 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2445 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2524 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2609 src/filemanager/file.c if (errno != EEXIST) errno 2761 src/filemanager/file.c write_errno_nospace = (n_written < 0 && errno == ENOSPC); errno 2963 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 3048 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 3744 src/filemanager/file.c g_snprintf (buf, sizeof (buf), format, path_trunc (file, 30), unix_error_string (errno)); errno 117 src/filemanager/filegui.c errno = (device == B_ENTRY_NOT_FOUND ? ENOENT errno 70 src/filemanager/filenot.c if (errno != ENOENT) errno 79 src/filemanager/filenot.c errno = ENOTDIR; errno 550 src/filemanager/mountlist.c errno = 0; errno 553 src/filemanager/mountlist.c && !(dev == ULONG_MAX && errno == ERANGE) && dev == (dev_t) dev) errno 688 src/filemanager/mountlist.c int saved_errno = errno; errno 691 src/filemanager/mountlist.c errno = saved_errno; errno 968 src/filemanager/mountlist.c int saved_errno = errno; errno 971 src/filemanager/mountlist.c errno = saved_errno; errno 989 src/filemanager/mountlist.c errno = 0; errno 992 src/filemanager/mountlist.c ret = errno; errno 1010 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1016 src/filemanager/mountlist.c errno = ret; errno 1048 src/filemanager/mountlist.c if (errno != EINTR) errno 1050 src/filemanager/mountlist.c int saved_errno = errno; errno 1052 src/filemanager/mountlist.c errno = saved_errno; errno 1056 src/filemanager/mountlist.c else if (errno != ENOENT) errno 1060 src/filemanager/mountlist.c errno = 0; errno 1063 src/filemanager/mountlist.c ret = errno; errno 1081 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1086 src/filemanager/mountlist.c ret = errno; errno 1090 src/filemanager/mountlist.c errno = ret; errno 1115 src/filemanager/mountlist.c int saved_errno = errno; errno 1118 src/filemanager/mountlist.c errno = saved_errno; errno 1204 src/filemanager/mountlist.c int saved_errno = errno; errno 1208 src/filemanager/mountlist.c errno = saved_errno; errno 762 src/filemanager/tree.c unix_error_string (errno)); errno 339 src/filemanager/treestore.c return errno; errno 370 src/filemanager/treestore.c unix_error_string (errno)); errno 1105 src/help.c event_data->filename ? event_data->filename : hlpfile, unix_error_string (errno)); errno 243 src/subshell/common.c if (errno == EINTR) errno 291 src/subshell/common.c fprintf (stderr, "Cannot set pty terminal modes: %s\r\n", unix_error_string (errno)); errno 595 src/subshell/common.c if (errno == EINTR) errno 621 src/subshell/common.c if (errno == EINTR) errno 653 src/subshell/common.c if (errno == EINTR) errno 828 src/subshell/common.c if (errno == EINTR) errno 837 src/subshell/common.c unix_error_string (errno)); errno 852 src/subshell/common.c if (bytes == -1 && errno == EIO && !subshell_alive) errno 862 src/subshell/common.c fprintf (stderr, "read (subshell_pty...): %s\r\n", unix_error_string (errno)); errno 882 src/subshell/common.c unix_error_string (errno)); errno 909 src/subshell/common.c unix_error_string (errno)); errno 1015 src/subshell/common.c fprintf (stderr, "open (%s, O_RDWR): %s\r\n", pty_name, unix_error_string (errno)); errno 1024 src/subshell/common.c unix_error_string (errno)); errno 1033 src/subshell/common.c unix_error_string (errno)); errno 1042 src/subshell/common.c unix_error_string (errno)); errno 1076 src/subshell/common.c if (errno == ENOENT) // Different from EIO errno 1371 src/subshell/common.c fprintf (stderr, "read (subshell_pipe[READ]...): %s\r\n", unix_error_string (errno)); errno 1548 src/subshell/common.c unix_error_string (errno)); errno 1556 src/subshell/common.c fprintf (stderr, "Cannot open master side of pty: %s\r\n", unix_error_string (errno)); errno 1564 src/subshell/common.c unix_error_string (errno)); errno 1578 src/subshell/common.c fprintf (stderr, "mkfifo(%s) failed: %s\r\n", tcsh_fifo, unix_error_string (errno)); errno 1621 src/subshell/common.c fprintf (stderr, "Cannot spawn the subshell process: %s\r\n", unix_error_string (errno)); errno 1771 src/subshell/common.c if (errno == EINTR) errno 1779 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 1815 src/subshell/common.c if (errno == EINTR) errno 1823 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 1873 src/subshell/common.c unix_error_string (errno)); errno 1912 src/subshell/common.c fprintf (stderr, "Cannot get terminal settings: %s\r\n", unix_error_string (errno)); errno 474 src/usermenu.c unix_error_string (errno)); errno 1015 src/usermenu.c unix_error_string (errno)); errno 1046 src/usermenu.c unix_error_string (errno)); errno 862 src/vfs/cpio/cpio.c ERRNOR (errno, -1); errno 540 src/vfs/extfs/extfs.c mc_propagate_error (error, 0, "%s", unix_error_string (errno)); errno 514 src/vfs/ftpfs/ftpfs.c if (errno == EPIPE) errno 920 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: %s"), unix_error_string (errno)); errno 923 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 933 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 940 src/vfs/ftpfs/ftpfs.c unix_error_string (errno)); errno 1246 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1314 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1335 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1367 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1424 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, -1); errno 1504 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1533 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: abort error: %s"), unix_error_string (errno)); errno 1943 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1970 src/vfs/ftpfs/ftpfs.c if (errno != EINTR) errno 1972 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1991 src/vfs/ftpfs/ftpfs.c if (errno == EINTR && !tty_got_interrupt ()) errno 1994 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 2057 src/vfs/ftpfs/ftpfs.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 2074 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, n); errno 2106 src/vfs/ftpfs/ftpfs.c return (((v < 0) && (errno == EINTR)) || v == 0) ? 1 : 0; errno 111 src/vfs/local/local.c if (readdir (dir) == NULL && errno == EINTR) errno 282 src/vfs/local/local.c if (errno == EAGAIN) errno 286 src/vfs/local/local.c if (errno == EINTR) errno 412 src/vfs/local/local.c if (errno == EAGAIN) errno 416 src/vfs/local/local.c if (errno == EINTR) errno 446 src/vfs/local/local.c return errno; errno 280 src/vfs/sftpfs/config_parser.c e = errno; errno 218 src/vfs/sftpfs/connection.c vfs_print_message (_ ("sftp: %s"), unix_error_string (errno)); errno 228 src/vfs/sftpfs/connection.c save_errno = errno; errno 106 src/vfs/sftpfs/internal.c int my_errno = errno; errno 640 src/vfs/sftpfs/sftpfs.c return errno; errno 1038 src/vfs/shell/shell.c if ((errno == EINTR) && tty_got_interrupt ()) errno 1052 src/vfs/shell/shell.c me->verrno = errno; errno 1107 src/vfs/shell/shell.c errno = 0; errno 1113 src/vfs/shell/shell.c if (errno != 0) errno 1162 src/vfs/shell/shell.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 1174 src/vfs/shell/shell.c ERRNOR (errno, n); errno 1214 src/vfs/shell/shell.c return (((v < 0) && (errno == EINTR)) || v == 0) ? 1 : 0; errno 1240 src/vfs/tar/tar.c ERRNOR (errno, -1); errno 233 src/viewer/growbuf.c while (nread == -1 && errno == EINTR); errno 422 src/viewer/hex.c unix_error_string (errno)); errno 429 src/viewer/hex.c text = g_strdup_printf (_ ("Cannot save file:\n%s"), unix_error_string (errno)); errno 335 src/viewer/mcviewer.c unix_error_string (errno)); errno 350 src/viewer/mcviewer.c unix_error_string (errno)); errno 400 src/viewer/mcviewer.c file, unix_error_string (errno));