LVM2 ./WHATS_NEW ./make.tmpl.in lib/format_tex ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2007-04-27 20:26:57
Modified files:
. : WHATS_NEW make.tmpl.in
lib/format_text: export.c
Log message:
Add -Wformat-security and change one fprintf() to fputs().
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.609&r2=1.610
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format_text/export.c.diff?cvsroot=lvm2&r1=1.54&r2=1.55
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.25 - ================================= + Add -Wformat-security and change one fprintf() to fputs(). Move regex functions into libdevmapper. Change some #include lines to search only standard system directories. Add devices/preferred_names config regex list for displayed device names.
make.tmpl.in +1 -1
@@ -56,7 +56,7 @@ .SUFFIXES: .c .d .o .so .a .po .pot .mo .dylib -CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn +CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security #CFLAGS += -W -Wconversion -Wpointer-arith -Wredundant-decls -Wbad-function-cast -Wcast-qual #CFLAGS += -pedantic -std=gnu99
lib/format_text/export.c +2 -2
@@ -160,7 +160,7 @@for (i =0 ; i < f->indent; i++) white_space[i] ='\t' ; white_space[i] ='\0' ; -fprintf (f->data.fp, white_space); +fputs (white_space, f->data.fp); i =vfprintf (f->data.fp, fmt, ap);if (comment) {
@@ -176,7 +176,7 @@while (++i <COMMENT_TAB ); -fprintf (f->data.fp, comment); +fputs (comment, f->data.fp); }fputc ('\n' , f->data.fp);