Home | History | Annotate | Download | only in bzip2

Lines Matching refs:FILE

7    This file is part of bzip2/libbzip2, a program and library for
14 README file.
17 in the file LICENSE.
180 /*--- Misc (file handling) data decls ---*/
189 /*-- source modes; F==file, I==stdin, O==stdout --*/
210 FILE *outputHandleJustInCase;
318 Bool myfeof ( FILE* f )
329 void compressStream ( FILE *stream, FILE *zStream )
433 Bool uncompressStream ( FILE *zStream, FILE *stream )
554 Bool testStream ( FILE *zStream )
622 "file ends unexpectedly\n" );
628 "bad magic number (file not created by bzip2)\n" );
664 "\nIt is possible that the compressed file(s) have become corrupted.\n"
679 "\tInput file = %s, output file = %s\n",
696 /* Check whether input file still exists. Delete output file
705 "%s: Deleting output file %s, if it exists.\n",
712 "%s: WARNING: deletion of output file "
717 "%s: WARNING: deletion of output file suppressed\n",
720 "%s: since input file no longer exists. Output file\n",
778 "\n%s: Compressed file ends unexpectedly;\n\t"
924 "bzip2: file name\n`%s'\n"
926 "Try using a reasonable file name instead. Sorry! :-)\n",
942 FILE *tmp = fopen ( name, "rb" );
950 /* Open an output file safely with O_EXCL and good permissions.
952 the file was first opened and then had its interim permissions
953 set safely. We instead use open() to create the file with
960 FILE* fopen_output_safely ( Char* name, const char* mode )
963 FILE* fp;
995 rac 11/21/98 see if file has hard links to it
1011 source to destination file. We have to copy this meta-info off
1018 by attempting to fopen() the file, and if successful, immediately
1086 /* On unix, files can contain any characters and the file expansion
1135 FILE *inStr;
1136 FILE *outStr;
1169 fprintf ( stderr, "%s: Can't open input file %s: %s.\n",
1178 "%s: Input file %s already has %s suffix.\n",
1188 "%s: Input file %s is a directory.\n",
1196 fprintf ( stderr, "%s: Input file %s is not a normal file.\n",
1205 fprintf ( stderr, "%s: Output file %s already exists.\n",
1213 fprintf ( stderr, "%s: Input file %s has %d other link%s.\n",
1220 /* Save the file's meta-info before we open it. Doing it later
1255 fprintf ( stderr, "%s: Can't open input file %s: %s.\n",
1266 fprintf ( stderr, "%s: Can't create output file %s: %s.\n",
1273 fprintf ( stderr, "%s: Can't open input file %s: %s.\n",
1316 FILE *inStr;
1317 FILE *outStr;
1358 fprintf ( stderr, "%s: Can't open input file %s: %s.\n",
1367 "%s: Input file %s is a directory.\n",
1375 fprintf ( stderr, "%s: Input file %s is not a normal file.\n",
1391 fprintf ( stderr, "%s: Output file %s already exists.\n",
1399 fprintf ( stderr, "%s: Input file %s has %d other link%s.\n",
1406 /* Save the file's meta-info before we open it. Doing it later
1431 fprintf ( stderr, "%s: Can't open input file %s:%s.\n",
1443 fprintf ( stderr, "%s: Can't create output file %s: %s.\n",
1450 fprintf ( stderr, "%s: Can't open input file %s: %s.\n",
1501 fprintf ( stderr, "not a bzip2 file.\n" ); else
1503 "%s: %s is not a bzip2 file.\n",
1514 FILE *inStr;
1547 "%s: Input file %s is a directory.\n",
1572 fprintf ( stderr, "%s: Can't open input file %s:%s.\n",
1605 "bzip2, a block-sorting file compressor. "
1611 " it under the terms set out in the LICENSE file, which is included\n"
1617 " LICENSE file for more details.\n"
1630 "bzip2, a block-sorting file compressor. "
1639 " -t --test test compressed file integrity\n"
1654 " If no file names are given, bzip2 compresses or decompresses\n"