Lines Matching refs:FILE
57 static void print_version (FILE *stream, struct argp_state *state);
58 void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
81 N_("Replace existing or insert new file into archive."), 0 },
94 { NULL, 'a', NULL, 0, N_("Insert file after [MEMBER]."), 0 },
95 { NULL, 'b', NULL, 0, N_("Insert file before [MEMBER]."), 0 },
99 { NULL, 'P', NULL, 0, N_("Use full path for file matching."), 0 },
109 static const char args_doc[] = N_("[MEMBER] [COUNT] ARCHIVE [FILE...]");
282 print_version (FILE *stream, struct argp_state *state __attribute__ ((unused)))
413 error (EXIT_FAILURE, 0, gettext ("%s: not an archive file"), arfname);
597 /* We cannot create a temporary file. Try to overwrite
598 the file or create it if it does not exist. */
680 /* If we used a temporary file, move it do the right
722 cannot rename temporary file to %.*s"),
747 /* We have to rewrite the file also if it initially had an index
757 error (0, errno, gettext ("cannot create new file"));
773 /* Create the new file. There are three parts as far we are
790 /* Even if the original file had content before the
795 /* Set the mode of the new file to the same values the
796 original file has. */
845 /* In case of a long file name we assume the archive header
855 /* If the files are adjacent in the old file extend the range. */
932 /* Ignore the symbol table and the long file name table here. */
970 /* If we recreate the symbol table read the file's symbol
974 /* Remember long file names. */
988 /* Create a new, temporary file in the same directory as the
989 original file. */
1005 error (0, errno, gettext ("cannot create new file"));
1013 /* Write the symbol table or the long file name table or both. */
1044 /* Set the mode of the new file to the same values the original file
1106 table so that we can match it. Note that when no file name is
1134 /* Ignore the symbol table and the long file name table here. */
1145 /* Remember long file names. */
1148 /* Check whether this is a file we are looking for. */
1253 error (0, errno, gettext ("%s is no regular file"), argv[cnt]);
1260 /* Do nothing, the file in the archive is younger. */
1291 /* Remember long file names. */
1370 file name table. Construct the final layout. */
1373 /* Create a new, temporary file in the same directory as the
1374 original file. */
1384 /* Bah, first the file did not exist, now it does. Restart. */
1402 error (0, errno, gettext ("cannot create new file"));
1410 /* Write the symbol table or the long file name table or both. */
1430 /* This is a new file. If there is anything from the
1469 /* Now the file itself. */
1474 /* Pad the file if its size is odd. */
1495 /* Set the mode of the new file to the same values the original file