From: Jim Meyering Date: Mon, 28 Mar 2005 18:09:51 +0000 (+0000) Subject: (long_options, mergefps): Use NULL, not `0'. X-Git-Tag: CPPI-1_12~1184 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d90b78f17dbb4cb7abb329b355e66e14418274b;p=thirdparty%2Fcoreutils.git (long_options, mergefps): Use NULL, not `0'. --- diff --git a/src/sort.c b/src/sort.c index bb89835f00..3ecd904b77 100644 --- a/src/sort.c +++ b/src/sort.c @@ -371,7 +371,7 @@ static struct option const long_options[] = {"zero-terminated", no_argument, NULL, 'z'}, {GETOPT_HELP_OPTION_DECL}, {GETOPT_VERSION_OPTION_DECL}, - {0, 0, 0, 0}, + {NULL, 0, NULL, 0}, }; /* The set of signals that are caught. */ @@ -1706,7 +1706,7 @@ mergefps (char **files, size_t ntemps, size_t nfiles, { if (savedline && compare (savedline, smallest)) { - savedline = 0; + savedline = NULL; write_bytes (saved.text, saved.length, ofp, output_file); } if (!savedline)