/* Compute MD5 or SHA1 checksum of files or strings
- Copyright (C) 1995-2003 Free Software Foundation, Inc.
+ Copyright (C) 1995-2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
void
usage (int status)
{
- if (status != 0)
+ if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else
printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
}
- exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
+ exit (status);
}
#define ISWHITE(c) ((c) == ' ' || (c) == '\t')
int opt;
char **string = NULL;
size_t n_strings = 0;
- size_t err = 0;
+ int err = 0;
int file_type_specified = 0;
#if O_BINARY