Module Name:    src
Committed By:   nia
Date:           Sat Oct  8 12:56:51 UTC 2022

Modified Files:
        src/lib/libc/compat/gen: compat_alloca.c

Log Message:
libc: Use a functional example when warning about incorrect alloca usage


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/compat/gen/compat_alloca.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/compat/gen/compat_alloca.c
diff -u src/lib/libc/compat/gen/compat_alloca.c:1.1 src/lib/libc/compat/gen/compat_alloca.c:1.2
--- src/lib/libc/compat/gen/compat_alloca.c:1.1	Wed Oct 24 22:10:52 2012
+++ src/lib/libc/compat/gen/compat_alloca.c	Sat Oct  8 12:56:51 2022
@@ -3,4 +3,4 @@
 __warn_references(alloca,
     "Warning: reference to the libc supplied alloca(3); this most likely will "
     "not work. Please use the compiler provided version of alloca(3), by "
-    "supplying the appropriate compiler flags (e.g. not -std=c89).")
+    "supplying the appropriate compiler flags (e.g. -std=gnu99).")

Reply via email to