mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(long_options, mergefps): Use NULL, not `0'.
This commit is contained in:
1 parent
dc9390825f
commit
8d90b78f17
1 file changed
+2
-2
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user