* modechange.c (mode_compile): Don't decrement past start of string.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Sep 2004 07:01:23 +0000 (07:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 24 Sep 2004 07:01:23 +0000 (07:01 +0000)
lib/ChangeLog

index 1fbbb54..733f07c 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modechange.c (mode_compile): Don't decrement a pointer that
+       points to the start of a string, as the C Standard says the
+       resulting behavior is undefined.
+
 2004-09-22  Jim Meyering  <jim@meyering.net>
 
        * getopt.c: Remove extraneous spaces before TAB.