Fix echo off-by-1 bug.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Sep 2004 07:34:26 +0000 (07:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 20 Sep 2004 07:34:26 +0000 (07:34 +0000)
ChangeLog

index 19f4482..a6b0855 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-09-19  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * src/echo.c (main): Don't pass NULL to strcmp when
+       POSIXLY_CORRECT and given no arguments.
+
        * src/md5sum.c (STRING_OPTION): Remove.
        (long_options, main): Remove support for undocumented and
        obsolete --string option, as suggested in the 1996-09-26 patch.