public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: agk@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW ./make.tmpl.in lib/format_tex ... Date: Fri, 27 Apr 2007 19:26:00 -0000 [thread overview] Message-ID: <20070427192657.9251.qmail@sourceware.org> (raw) CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk@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 --- LVM2/WHATS_NEW 2007/04/27 18:52:05 1.609 +++ LVM2/WHATS_NEW 2007/04/27 19:26:56 1.610 @@ -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. --- LVM2/make.tmpl.in 2007/04/27 17:46:15 1.48 +++ LVM2/make.tmpl.in 2007/04/27 19:26:56 1.49 @@ -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 --- LVM2/lib/format_text/export.c 2006/11/10 18:24:11 1.54 +++ LVM2/lib/format_text/export.c 2007/04/27 19:26:57 1.55 @@ -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);
reply other threads:[~2007-04-27 19:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070427192657.9251.qmail@sourceware.org \ --to=agk@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).