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 367 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 1997 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 796 lib/vfs/path.c errno = 0; errno 807 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 667 src/diffviewer/ydiff.c errno = 0; errno 669 src/diffviewer/ydiff.c if (errno != 0 || p == q) errno 1225 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1229 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 1233 src/editor/editwidget.c made_directory = (mkdir (dir, 0700) != -1 || errno == EEXIST); errno 706 src/editor/syntax.c if (errno == EINTR) errno 834 src/filemanager/achown.c int my_errno = errno; errno 839 src/filemanager/achown.c errno = my_errno; // restore errno for file_error( errno 866 src/filemanager/achown.c int my_errno = errno; errno 871 src/filemanager/achown.c errno = my_errno; // restore errno for file_error( errno 1093 src/filemanager/chattr.c int my_errno = errno; errno 1098 src/filemanager/chattr.c errno = my_errno; // restore errno for file_error( errno 421 src/filemanager/chmod.c int my_errno = errno; errno 426 src/filemanager/chmod.c errno = my_errno; // restore errno for file_error( errno 287 src/filemanager/chown.c int my_errno = errno; errno 292 src/filemanager/chown.c errno = my_errno; // restore errno for file_error() 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 457 src/filemanager/file.c errno = 0; errno 1127 src/filemanager/file.c full_format = g_strconcat (format, "\n", unix_error_string (errno), (char *) NULL); errno 1303 src/filemanager/file.c errno = EXDEV; // Hack to copy (append) the file and then delete it errno 1305 src/filemanager/file.c if (errno != EXDEV) errno 1708 src/filemanager/file.c if (errno != EXDEV) errno 2375 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2447 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2524 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 2606 src/filemanager/file.c if (errno != EEXIST) errno 2757 src/filemanager/file.c write_errno_nospace = (n_written < 0 && errno == ENOSPC); errno 2957 src/filemanager/file.c if (attrs_ignore_error (errno)) errno 3041 src/filemanager/file.c if (attrs_ignore_error (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 528 src/filemanager/mountlist.c errno = 0; errno 531 src/filemanager/mountlist.c && !(dev == ULONG_MAX && errno == ERANGE) && dev == (dev_t) dev) errno 665 src/filemanager/mountlist.c int saved_errno = errno; errno 668 src/filemanager/mountlist.c errno = saved_errno; errno 945 src/filemanager/mountlist.c int saved_errno = errno; errno 948 src/filemanager/mountlist.c errno = saved_errno; errno 966 src/filemanager/mountlist.c errno = 0; errno 969 src/filemanager/mountlist.c ret = errno; errno 987 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 993 src/filemanager/mountlist.c errno = ret; errno 1025 src/filemanager/mountlist.c if (errno != EINTR) errno 1027 src/filemanager/mountlist.c int saved_errno = errno; errno 1029 src/filemanager/mountlist.c errno = saved_errno; errno 1033 src/filemanager/mountlist.c else if (errno != ENOENT) errno 1037 src/filemanager/mountlist.c errno = 0; errno 1040 src/filemanager/mountlist.c ret = errno; errno 1058 src/filemanager/mountlist.c ret = fclose (fp) == EOF ? errno : 0 < ret ? 0 : -1; errno 1063 src/filemanager/mountlist.c ret = errno; errno 1067 src/filemanager/mountlist.c errno = ret; errno 1092 src/filemanager/mountlist.c int saved_errno = errno; errno 1095 src/filemanager/mountlist.c errno = saved_errno; errno 1181 src/filemanager/mountlist.c int saved_errno = errno; errno 1185 src/filemanager/mountlist.c errno = saved_errno; errno 352 src/filemanager/panelize.c errno = external->out.error; errno 765 src/filemanager/tree.c errno = ENOTDIR; errno 339 src/filemanager/treestore.c return errno; errno 371 src/filemanager/treestore.c 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 87 src/util.c const char *error_string = unix_error_string (errno); errno 859 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 512 src/vfs/ftpfs/ftpfs.c if (errno == EPIPE) errno 918 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: %s"), unix_error_string (errno)); errno 921 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 931 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 938 src/vfs/ftpfs/ftpfs.c unix_error_string (errno)); errno 1243 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1311 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1332 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1364 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1421 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, -1); errno 1501 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1530 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: abort error: %s"), unix_error_string (errno)); errno 1941 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1968 src/vfs/ftpfs/ftpfs.c if (errno != EINTR) errno 1970 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 1989 src/vfs/ftpfs/ftpfs.c if (errno == EINTR && !tty_got_interrupt ()) errno 1992 src/vfs/ftpfs/ftpfs.c me->verrno = errno; errno 2055 src/vfs/ftpfs/ftpfs.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 2072 src/vfs/ftpfs/ftpfs.c ERRNOR (errno, n); errno 2104 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 1035 src/vfs/shell/shell.c if ((errno == EINTR) && tty_got_interrupt ()) errno 1049 src/vfs/shell/shell.c me->verrno = errno; errno 1104 src/vfs/shell/shell.c errno = 0; errno 1110 src/vfs/shell/shell.c if (errno != 0) errno 1159 src/vfs/shell/shell.c if ((errno == EINTR) && !tty_got_interrupt ()) errno 1171 src/vfs/shell/shell.c ERRNOR (errno, n); errno 1211 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 207 src/viewer/growbuf.c errno = sp->out.error; errno 229 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));