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 212 lib/tty/tty.c if (errno != EINTR) errno 241 lib/tty/tty.c while (n > 0 || (n == -1 && errno == EINTR)); errno 159 lib/utilunix.c if (errno != EINTR) errno 240 lib/utilunix.c while (read_len < 0 && errno == EINTR); errno 246 lib/utilunix.c ps->error = errno; errno 649 lib/utilunix.c if (res < 0 && errno != EINTR) errno 654 lib/utilunix.c unix_error_string (errno)); errno 744 lib/utilunix.c while (res < 0 && errno == EINTR); errno 748 lib/utilunix.c unix_error_string (errno)); errno 1094 lib/utilunix.c errno = ENAMETOOLONG; errno 1160 lib/utilunix.c errno = ENAMETOOLONG; errno 1169 lib/utilunix.c errno = ELOOP; errno 1178 lib/utilunix.c if (errno != EINVAL) errno 1200 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 454 lib/vfs/interface.c errno = EFAULT; errno 477 lib/vfs/interface.c errno = vfs->readdir ? vfs_ferrno (vfs) : ENOTSUP; errno 531 lib/vfs/interface.c errno = me->name ? vfs_ferrno (me) : ENOTSUP; \ errno 557 lib/vfs/interface.c errno = vfs_ferrno (me); errno 605 lib/vfs/interface.c errno = 0; errno 617 lib/vfs/interface.c errno = EINVAL; errno 623 lib/vfs/interface.c errno = ENOTSUP; errno 630 lib/vfs/interface.c errno = vfs_ferrno (me); errno 696 lib/vfs/interface.c errno = vfs->lseek ? vfs_ferrno (vfs) : ENOTSUP; errno 792 lib/vfs/interface.c buffer, unix_error_string (errno)); errno 797 lib/vfs/path.c errno = 0; errno 808 lib/vfs/path.c errno = EINVAL; errno 171 lib/vfs/vfs.c errno = EINVAL; errno 732 lib/vfs/vfs.c errno = ENOTSUP; errno 737 lib/vfs/vfs.c errno = EBADF; errno 744 lib/vfs/vfs.c errno = ENOTSUP; errno 749 lib/vfs/vfs.c errno = EBADF; errno 757 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 179 src/diffviewer/ydiff.c unix_error_string (errno)); errno 667 src/diffviewer/ydiff.c errno = 0; errno 669 src/diffviewer/ydiff.c if (errno != 0 || p == q) errno 2133 src/diffviewer/ydiff.c dview->file[n_merge], "~~~", unix_error_string (errno)); errno 2142 src/diffviewer/ydiff.c unix_error_string (errno)); errno 3485 src/diffviewer/ydiff.c unix_error_string (errno)); errno 3502 src/diffviewer/ydiff.c unix_error_string (errno)); errno 1223 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1227 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1231 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 704 src/editor/syntax.c if (errno == EINTR) errno 1565 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 778 src/filemanager/cmd.c message (D_ERROR, MSG_ERROR, "%s", unix_error_string (errno)); errno 1112 src/filemanager/cmd.c unix_error_string (errno)); errno 1120 src/filemanager/cmd.c unix_error_string (errno)); errno 461 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 109 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 549 src/filemanager/mountlist.c errno = 0; errno 552 src/filemanager/mountlist.c && !(dev == ULONG_MAX && errno == ERANGE) && dev == (dev_t) dev) errno 686 src/filemanager/mountlist.c int saved_errno = errno; errno 689 src/filemanager/mountlist.c errno = saved_errno; errno 966 src/filemanager/mountlist.c int saved_errno = errno; errno 969 src/filemanager/mountlist.c errno = saved_errno; errno 987 src/filemanager/mountlist.c errno = 0; errno 990 src/filemanager/mountlist.c ret = errno; errno 1008 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1014 src/filemanager/mountlist.c errno = ret; errno 1046 src/filemanager/mountlist.c if (errno != EINTR) errno 1048 src/filemanager/mountlist.c int saved_errno = errno; errno 1050 src/filemanager/mountlist.c errno = saved_errno; errno 1054 src/filemanager/mountlist.c else if (errno != ENOENT) errno 1058 src/filemanager/mountlist.c errno = 0; errno 1061 src/filemanager/mountlist.c ret = errno; errno 1079 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1084 src/filemanager/mountlist.c ret = errno; errno 1088 src/filemanager/mountlist.c errno = ret; errno 1113 src/filemanager/mountlist.c int saved_errno = errno; errno 1116 src/filemanager/mountlist.c errno = saved_errno; errno 1202 src/filemanager/mountlist.c int saved_errno = errno; errno 1206 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 371 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 238 src/subshell/common.c if (errno == EINTR) errno 286 src/subshell/common.c fprintf (stderr, "Cannot set pty terminal modes: %s\r\n", unix_error_string (errno)); errno 586 src/subshell/common.c if (errno == EINTR) errno 612 src/subshell/common.c if (errno == EINTR) errno 644 src/subshell/common.c if (errno == EINTR) errno 870 src/subshell/common.c if (errno == EINTR) errno 879 src/subshell/common.c unix_error_string (errno)); errno 894 src/subshell/common.c if (bytes == -1 && errno == EIO && !subshell_alive) errno 904 src/subshell/common.c fprintf (stderr, "read (subshell_pty...): %s\r\n", unix_error_string (errno)); errno 924 src/subshell/common.c unix_error_string (errno)); errno 951 src/subshell/common.c unix_error_string (errno)); errno 1053 src/subshell/common.c fprintf (stderr, "open (%s, O_RDWR): %s\r\n", pty_name, unix_error_string (errno)); errno 1062 src/subshell/common.c unix_error_string (errno)); errno 1071 src/subshell/common.c unix_error_string (errno)); errno 1080 src/subshell/common.c unix_error_string (errno)); errno 1114 src/subshell/common.c if (errno == ENOENT) // Different from EIO errno 1394 src/subshell/common.c fprintf (stderr, "read (subshell_pipe[READ]...): %s\r\n", unix_error_string (errno)); errno 1569 src/subshell/common.c unix_error_string (errno)); errno 1577 src/subshell/common.c fprintf (stderr, "Cannot open master side of pty: %s\r\n", unix_error_string (errno)); errno 1585 src/subshell/common.c unix_error_string (errno)); errno 1599 src/subshell/common.c fprintf (stderr, "mkfifo(%s) failed: %s\r\n", tcsh_fifo, unix_error_string (errno)); errno 1642 src/subshell/common.c fprintf (stderr, "Cannot spawn the subshell process: %s\r\n", unix_error_string (errno)); errno 1791 src/subshell/common.c if (errno == EINTR) errno 1799 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 1835 src/subshell/common.c if (errno == EINTR) errno 1843 src/subshell/common.c fprintf (stderr, "select (FD_SETSIZE, &tmp...): %s\r\n", unix_error_string (errno)); errno 1893 src/subshell/common.c unix_error_string (errno)); errno 1932 src/subshell/common.c fprintf (stderr, "Cannot get terminal settings: %s\r\n", unix_error_string (errno)); errno 469 src/usermenu.c unix_error_string (errno)); errno 1010 src/usermenu.c unix_error_string (errno)); errno 1041 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 1944 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1971 src/vfs/ftpfs/ftpfs.c if (errno != EINTR) errno 1973 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1992 src/vfs/ftpfs/ftpfs.c if (errno == EINTR && !tty_got_interrupt ()) errno 1995 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 2058 src/vfs/ftpfs/ftpfs.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 2075 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, n); errno 2107 src/vfs/ftpfs/ftpfs.c return (((v < 0) && (errno == EINTR)) || v == 0) ? 1 : 0; errno 109 src/vfs/local/local.c if (readdir (dir) == NULL && errno == EINTR) errno 280 src/vfs/local/local.c if (errno == EAGAIN) errno 284 src/vfs/local/local.c if (errno == EINTR) errno 410 src/vfs/local/local.c if (errno == EAGAIN) errno 414 src/vfs/local/local.c if (errno == EINTR) errno 444 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 280 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts_file, unix_error_string (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 409 src/viewer/hex.c unix_error_string (errno)); errno 416 src/viewer/hex.c text = g_strdup_printf (_ ("Cannot save file:\n%s"), unix_error_string (errno)); errno 333 src/viewer/mcviewer.c unix_error_string (errno)); errno 348 src/viewer/mcviewer.c unix_error_string (errno)); errno 398 src/viewer/mcviewer.c file, unix_error_string (errno));