Show
Ignore:
Timestamp:
07/01/06 08:27:06 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib-src/ebrowse.c

    r4037 r4098  
    39103910          fp = fopen (out_filename, "r"); 
    39113911          if (fp == NULL) 
    3912             yyerror ("file `%s' must exist for --append", out_filename); 
     3912            { 
     3913              yyerror ("file `%s' must exist for --append", out_filename); 
     3914              exit (EXIT_FAILURE); 
     3915            } 
    39133916 
    39143917          rc = fseek (fp, 0, SEEK_END); 
    39153918          if (rc == -1) 
    3916             yyerror ("error seeking in file `%s'", out_filename); 
     3919            { 
     3920              yyerror ("error seeking in file `%s'", out_filename); 
     3921              exit (EXIT_FAILURE); 
     3922            } 
    39173923 
    39183924          rc = ftell (fp); 
    39193925          if (rc == -1) 
    3920             yyerror ("error getting size of file `%s'", out_filename); 
     3926            { 
     3927              yyerror ("error getting size of file `%s'", out_filename); 
     3928              exit (EXIT_FAILURE); 
     3929            } 
     3930           
    39213931          else if (rc == 0) 
    3922             yyerror ("file `%s' is empty", out_filename); 
     3932            { 
     3933              yyerror ("file `%s' is empty", out_filename); 
     3934              /* It may be ok to use an empty file for appending. 
     3935                 exit (EXIT_FAILURE); */ 
     3936            } 
    39233937 
    39243938          fclose (fp);