/[emacs]/emacs/lib-src/ebrowse.c
ViewVC logotype

Diff of /emacs/lib-src/ebrowse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35.6.1 by handa, Fri Apr 16 12:49:44 2004 UTC revision 1.35.6.2 by miles, Mon Jun 28 07:28:22 2004 UTC
# Line 564  xmalloc (nbytes) Line 564  xmalloc (nbytes)
564    if (p == NULL)    if (p == NULL)
565      {      {
566        yyerror ("out of memory", NULL);        yyerror ("out of memory", NULL);
567        exit (1);        exit (EXIT_FAILURE);
568      }      }
569    return p;    return p;
570  }  }
# Line 581  xrealloc (p, sz) Line 581  xrealloc (p, sz)
581    if (p == NULL)    if (p == NULL)
582      {      {
583        yyerror ("out of memory", NULL);        yyerror ("out of memory", NULL);
584        exit (1);        exit (EXIT_FAILURE);
585      }      }
586    return p;    return p;
587  }  }
# Line 3671  usage (error) Line 3671  usage (error)
3671       int error;       int error;
3672  {  {
3673    puts (USAGE);    puts (USAGE);
3674    exit (error ? 1 : 0);    exit (error ? EXIT_FAILURE : EXIT_SUCCESS);
3675  }  }
3676    
3677    
# Line 3688  version () Line 3688  version ()
3688    printf ("ebrowse %s\n", VERSION);    printf ("ebrowse %s\n", VERSION);
3689    puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.");    puts ("Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc.");
3690    puts ("This program is distributed under the same terms as Emacs.");    puts ("This program is distributed under the same terms as Emacs.");
3691    exit (0);    exit (EXIT_SUCCESS);
3692  }  }
3693    
3694    
# Line 3925  main (argc, argv) Line 3925  main (argc, argv)
3925        if (yyout == NULL)        if (yyout == NULL)
3926          {          {
3927            yyerror ("cannot open output file `%s'", out_filename);            yyerror ("cannot open output file `%s'", out_filename);
3928            exit (1);            exit (EXIT_FAILURE);
3929          }          }
3930      }      }
3931    
# Line 3970  main (argc, argv) Line 3970  main (argc, argv)
3970    if (yyout != stdout)    if (yyout != stdout)
3971      fclose (yyout);      fclose (yyout);
3972    
3973    return 0;    return EXIT_SUCCESS;
3974  }  }
3975    
   
 /* ebrowse.c ends here.  */  
   
3976  /* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8  /* arch-tag: fc03b4bc-91a9-4c3d-b3b9-12a77fa86dd8
3977     (do not change this comment) */     (do not change this comment) */
3978    
3979    /* ebrowse.c ends here */

Legend:
Removed from v.1.35.6.1  
changed lines
  Added in v.1.35.6.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26