X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fstrings.c;h=2238574bac04a760096847e681ca2a8db78e137e;hb=36fc76aebb7315571094d66b35e13d69d512fbe2;hp=4c68ea8f8c311152e1833f61b5630341cf492dfd;hpb=030cbcedf282f87e90e2248b61a0941b86df3b66;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/strings.c b/binutils/strings.c index 4c68ea8f8c..2238574bac 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -1,6 +1,6 @@ /* strings -- print the strings of printable characters in files Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + 2002, 2003, 2004, 2005, 2006, 2007 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 @@ -58,17 +58,13 @@ Written by Richard Stallman and David MacKenzie . */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "sysdep.h" #include "bfd.h" -#include #include "getopt.h" -#include -#include "bucomm.h" #include "libiberty.h" #include "safe-ctype.h" #include +#include "bucomm.h" /* Some platforms need to put stdin into binary mode, to read binary files. */ @@ -722,7 +718,7 @@ usage (FILE *stream, int status) -h --help Display this information\n\ -v --version Print the program's version number\n")); list_supported_targets (program_name, stream); - if (status == 0) + if (REPORT_BUGS_TO[0] && status == 0) fprintf (stream, _("Report bugs to %s\n"), REPORT_BUGS_TO); exit (status); }