file2 41 maint/gnulib/lib/at-func2.c int fd2, char const *file2, file2 42 maint/gnulib/lib/at-func2.c int (*func) (char const *file1, char const *file2)) file2 78 maint/gnulib/lib/at-func2.c && (fd2 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file2))) file2 79 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Case 0-2, 4-6, 8-10. */ file2 90 maint/gnulib/lib/at-func2.c char *proc_file2 = ((fd2 == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file2)) file2 91 maint/gnulib/lib/at-func2.c ? (char *) file2 file2 92 maint/gnulib/lib/at-func2.c : openat_proc_name (proc_buf2, fd2, file2)); file2 99 maint/gnulib/lib/at-func2.c if (proc_file2 != proc_buf2 && proc_file2 != file2) file2 121 maint/gnulib/lib/at-func2.c else if (IS_ABSOLUTE_FILE_NAME (file2)) file2 136 maint/gnulib/lib/at-func2.c return func (file1, file2); file2 148 maint/gnulib/lib/at-func2.c return func (file1, file2); file2 163 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Further reduced to case 5. */ file2 176 maint/gnulib/lib/at-func2.c return func (file1, file2); /* Reduced to case 5. */ file2 180 maint/gnulib/lib/at-func2.c if (file1[0] == '\0' || file2[0] == '\0') file2 208 maint/gnulib/lib/at-func2.c file2_alt = (char *) file2; file2 234 maint/gnulib/lib/at-func2.c else if (fd2 == AT_FDCWD && !IS_ABSOLUTE_FILE_NAME (file2)) /* Case 13. */ file2 244 maint/gnulib/lib/at-func2.c file2_alt = mfile_name_concat (cwd, file2, NULL); file2 263 maint/gnulib/lib/at-func2.c else if (file2 != file2_alt) file2 276 maint/gnulib/lib/at-func2.c else if (file2 != file2_alt) file2 373 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file2; file2 393 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file2 = mapping->file2; file2 395 maint/gnulib/lib/git-merge-changelog.c size_t n2 = file2->num_entries; file2 406 maint/gnulib/lib/git-merge-changelog.c entry_fstrcmp (entry_i, file2->entries[j], best_j_similarity); file2 416 maint/gnulib/lib/git-merge-changelog.c struct entry *entry_j = file2->entries[best_j]; file2 456 maint/gnulib/lib/git-merge-changelog.c struct changelog_file *file2 = mapping->file2; file2 458 maint/gnulib/lib/git-merge-changelog.c size_t n2 = file2->num_entries; file2 459 maint/gnulib/lib/git-merge-changelog.c struct entry *entry_j = file2->entries[j]; file2 488 maint/gnulib/lib/git-merge-changelog.c entry_fstrcmp (entry_i, file2->entries[jj], file2 519 maint/gnulib/lib/git-merge-changelog.c compute_mapping (struct changelog_file *file1, struct changelog_file *file2, file2 528 maint/gnulib/lib/git-merge-changelog.c size_t n2 = file2->num_entries; file2 545 maint/gnulib/lib/git-merge-changelog.c j = gl_list_indexof (file2->entries_reversed, entry); file2 575 maint/gnulib/lib/git-merge-changelog.c gl_list_indexof_from (file2->entries_reversed, file2 592 maint/gnulib/lib/git-merge-changelog.c result->file2 = file2; file2 656 maint/gnulib/lib/git-merge-changelog.c compute_differences (struct changelog_file *file1, struct changelog_file *file2, file2 666 maint/gnulib/lib/git-merge-changelog.c size_t n2 = file2->num_entries; file2 672 maint/gnulib/lib/git-merge-changelog.c ctxt.yvec = file2->entries; file2 71 maint/gnulib/lib/link.c link (const char *file1, const char *file2) file2 75 maint/gnulib/lib/link.c size_t len2 = strlen (file2); file2 91 maint/gnulib/lib/link.c || (len2 && (file2[len2 - 1] == '/' || file2[len2 - 1] == '\\'))) file2 110 maint/gnulib/lib/link.c dir = strdup (file2); file2 126 maint/gnulib/lib/link.c if (CreateHardLinkFunc (file2, file1, NULL) == 0) file2 183 maint/gnulib/lib/link.c rpl_link (char const *file1, char const *file2) file2 190 maint/gnulib/lib/link.c if (lstat (file2, &st) == 0 || errno == EOVERFLOW) file2 198 maint/gnulib/lib/link.c len2 = strlen (file2); file2 200 maint/gnulib/lib/link.c || (len2 && file2[len2 - 1] == '/')) file2 217 maint/gnulib/lib/link.c char *dir = strdup (file2); file2 235 maint/gnulib/lib/link.c return link (file1, file2); file2 44 maint/gnulib/lib/linkat.c link_immediate (char const *file1, char const *file2) file2 55 maint/gnulib/lib/linkat.c char *dir = mdir_name (file2); file2 66 maint/gnulib/lib/linkat.c int result = symlink (target, file2); file2 81 maint/gnulib/lib/linkat.c return link (file1, file2); file2 91 maint/gnulib/lib/linkat.c link_follow (char const *file1, char const *file2) file2 141 maint/gnulib/lib/linkat.c result = link (name, file2); file2 158 maint/gnulib/lib/linkat.c solaris_optimized_link_immediate (char const *file1, char const *file2) file2 161 maint/gnulib/lib/linkat.c return link (file1, file2); file2 162 maint/gnulib/lib/linkat.c return link_immediate (file1, file2); file2 166 maint/gnulib/lib/linkat.c solaris_optimized_link_follow (char const *file1, char const *file2) file2 169 maint/gnulib/lib/linkat.c return link (file1, file2); file2 170 maint/gnulib/lib/linkat.c return link_follow (file1, file2); file2 190 maint/gnulib/lib/linkat.c linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) file2 197 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, file2 209 maint/gnulib/lib/linkat.c linkat_follow (int fd1, char const *file1, int fd2, char const *file2) file2 257 maint/gnulib/lib/linkat.c result = linkat (fd1, name, fd2, file2, 0); file2 268 maint/gnulib/lib/linkat.c rpl_linkat (int fd1, char const *file1, int fd2, char const *file2, int flag) file2 280 maint/gnulib/lib/linkat.c size_t len2 = strlen (file2); file2 282 maint/gnulib/lib/linkat.c || (len2 && file2[len2 - 1] == '/')) file2 301 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); file2 307 maint/gnulib/lib/linkat.c return at_func2 (fd1, file1, fd2, file2, link_immediate); file2 317 maint/gnulib/lib/linkat.c int result = linkat (fd1, file1, fd2, file2, flag); file2 326 maint/gnulib/lib/linkat.c return linkat_follow (fd1, file1, fd2, file2); file2 61 maint/gnulib/lib/openat-priv.h int fd2, char const *file2, file2 62 maint/gnulib/lib/openat-priv.h int (*func) (char const *file1, char const *file2)); file2 1250 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) file2 1253 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); file2 1257 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2) file2 1261 maint/gnulib/lib/stdio.in.h (int fd1, char const *file1, int fd2, char const *file2)); file2 36 maint/gnulib/tests/test-copy-acl.c const char *file2; file2 45 maint/gnulib/tests/test-copy-acl.c file2 = argv[2]; file2 55 maint/gnulib/tests/test-copy-acl.c fd2 = open (file2, O_WRONLY, 0600); file2 58 maint/gnulib/tests/test-copy-acl.c fprintf (stderr, "could not open file \"%s\"\n", file2); file2 63 maint/gnulib/tests/test-copy-acl.c if (copy_acl (file1, fd1, file2, fd2, mode)) file2 66 maint/gnulib/tests/test-copy-acl.c chmod (file2, mode); file2 31 maint/gnulib/tests/test-copy-file.c const char *file2; file2 37 maint/gnulib/tests/test-copy-file.c file2 = argv[2]; file2 41 maint/gnulib/tests/test-copy-file.c ASSERT (qcopy_file_preserving (file1, file2) == 0); file2 43 maint/gnulib/tests/test-copy-file.c copy_file_preserving (file1, file2); file2 170 maint/gnulib/tests/test-linkat.c char *file2 = mfile_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); file2 172 maint/gnulib/tests/test-linkat.c ASSERT (file2); file2 176 maint/gnulib/tests/test-linkat.c ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2); file2 177 maint/gnulib/tests/test-linkat.c ASSERT (linkat (fd1, file1, fd2, file2, flag) == 0); file2 180 maint/gnulib/tests/test-linkat.c free (file2); file2 129 maint/gnulib/tests/test-renameat.c char *file2 = file_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); file2 132 maint/gnulib/tests/test-renameat.c ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2); file2 133 maint/gnulib/tests/test-renameat.c ASSERT (renameat (fd1, file1, fd2, file2) == 0); file2 135 maint/gnulib/tests/test-renameat.c free (file2); file2 132 maint/gnulib/tests/test-renameatu.c char *file2 = file_name_concat ((i & 1) ? ".." : cwd, BASE "xx", NULL); file2 135 maint/gnulib/tests/test-renameatu.c ASSERT (sprintf (strchr (file2, '\0') - 2, "%02d", i + 1) == 2); file2 136 maint/gnulib/tests/test-renameatu.c ASSERT (renameatu (fd1, file1, fd2, file2, 0) == 0); file2 138 maint/gnulib/tests/test-renameatu.c free (file2); file2 44 maint/gnulib/tests/test-sameacls.c const char *file2; file2 49 maint/gnulib/tests/test-sameacls.c file2 = argv[2]; file2 65 maint/gnulib/tests/test-sameacls.c contents2 = read_file (file2, 0, &size2); file2 68 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error reading file %s: errno = %d\n", file2, errno); file2 76 maint/gnulib/tests/test-sameacls.c file1, file2); file2 83 maint/gnulib/tests/test-sameacls.c file1, file2); file2 103 maint/gnulib/tests/test-sameacls.c if (stat (file2, &statbuf2) < 0) file2 105 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing file %s: errno = %d\n", file2, errno); file2 112 maint/gnulib/tests/test-sameacls.c file1, file2, file2 152 maint/gnulib/tests/test-sameacls.c acl2 = acl_get_file (file2, type); file2 178 maint/gnulib/tests/test-sameacls.c file1, file2, text1, text2); file2 185 maint/gnulib/tests/test-sameacls.c file1, file2); file2 194 maint/gnulib/tests/test-sameacls.c file1, file2); file2 202 maint/gnulib/tests/test-sameacls.c file1, file2, errno1, errno2); file2 211 maint/gnulib/tests/test-sameacls.c file1, file2); file2 220 maint/gnulib/tests/test-sameacls.c file1, file2); file2 238 maint/gnulib/tests/test-sameacls.c count2 = acl (file2, GETACLCNT, 0, NULL); file2 250 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 257 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file2 272 maint/gnulib/tests/test-sameacls.c if (count2 > 0 && acl (file2, GETACL, count2, entries2) < count1) file2 274 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file2); file2 283 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file2 289 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file2 295 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm); file2 306 maint/gnulib/tests/test-sameacls.c count2 = acl (file2, ACE_GETACLCNT, 0, NULL); file2 317 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACE-ACLs of file %s\n", file2); file2 336 maint/gnulib/tests/test-sameacls.c ret = acl (file2, ACE_GETACL, count2, entries2); file2 341 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file2); file2 349 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file2 358 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file2 364 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_who, (int)entries2[i].a_who); file2 370 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_access_mask, (unsigned int) entries2[i].a_access_mask); file2 376 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_flags, (unsigned int) entries2[i].a_flags); file2 392 maint/gnulib/tests/test-sameacls.c count2 = getacl (file2, 0, NULL); file2 405 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 412 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file2 427 maint/gnulib/tests/test-sameacls.c if (getacl (file2, count2, entries2) < count1) file2 429 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file2); file2 438 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].uid, (int)entries2[i].uid); file2 444 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].gid, (int)entries2[i].gid); file2 450 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].mode, (unsigned int) entries2[i].mode); file2 466 maint/gnulib/tests/test-sameacls.c count2 = acl ((char *) file2, ACL_CNT, NACLVENTRIES, dummy_entries); file2 480 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 487 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file2 502 maint/gnulib/tests/test-sameacls.c if (acl ((char *) file2, ACL_GET, count2, entries2) < count1) file2 504 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file2); file2 513 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file2 519 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file2 525 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm); file2 572 maint/gnulib/tests/test-sameacls.c if (aclx_get (file2, 0, &type2, acl2, &aclsize2, &mode2) < 0) file2 578 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 584 maint/gnulib/tests/test-sameacls.c if (aclx_printStr (text2, &textsize2, acl2, aclsize2, type2, file2, 0) < 0) file2 586 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "cannot convert the ACLs of file %s to text\n", file2); file2 594 maint/gnulib/tests/test-sameacls.c file1, file2, text1, text2); file2 608 maint/gnulib/tests/test-sameacls.c if (statacl (file2, STX_NORMAL, &acl2.a, sizeof (acl2)) < 0) file2 610 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 618 maint/gnulib/tests/test-sameacls.c file1, file2, acl1.a.acl_len, acl2.a.acl_len); file2 624 maint/gnulib/tests/test-sameacls.c file1, file2, acl1.a.acl_mode, acl2.a.acl_mode); file2 632 maint/gnulib/tests/test-sameacls.c file1, file2, file2 640 maint/gnulib/tests/test-sameacls.c file1, file2); file2 648 maint/gnulib/tests/test-sameacls.c count2 = acl ((char *) file2, ACL_CNT, NACLENTRIES, NULL); file2 658 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error accessing the ACLs of file %s\n", file2); file2 665 maint/gnulib/tests/test-sameacls.c file1, file2, count1, count2); file2 680 maint/gnulib/tests/test-sameacls.c if (acl ((char *) file2, ACL_GET, count2, entries2) < count1) file2 682 maint/gnulib/tests/test-sameacls.c fprintf (stderr, "error retrieving the ACLs of file %s\n", file2); file2 691 maint/gnulib/tests/test-sameacls.c file1, file2, i, entries1[i].a_type, entries2[i].a_type); file2 697 maint/gnulib/tests/test-sameacls.c file1, file2, i, (int)entries1[i].a_id, (int)entries2[i].a_id); file2 703 maint/gnulib/tests/test-sameacls.c file1, file2, i, (unsigned int) entries1[i].a_perm, (unsigned int) entries2[i].a_perm);