exterminate last bzero's

version bump to 1.3.0
This commit is contained in:
Denis Vlasenko 2006-12-13 23:52:32 +00:00
parent 9729e65706
commit a883fa4cee
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
VERSION = 1 VERSION = 1
PATCHLEVEL = 2 PATCHLEVEL = 3
SUBLEVEL = 2 SUBLEVEL = 0
EXTRAVERSION = .svn EXTRAVERSION =
NAME = Unnamed NAME = Unnamed
# *DOCUMENTATION* # *DOCUMENTATION*

View File

@ -84,7 +84,7 @@ const char *dbg_print_stype(int val)
{ {
static char buf[256]; static char buf[256];
bzero(buf, 256); memset(buf, 0, 256);
if (val == S_UNKNOWN) if (val == S_UNKNOWN)
strcpy(buf, "unknown"); strcpy(buf, "unknown");
@ -112,7 +112,7 @@ const char *dbg_print_flags(int val)
{ {
static char buf[256]; static char buf[256];
bzero(buf, 256); memset(buf, 0, 256);
if (val & SYMBOL_YES) if (val & SYMBOL_YES)
strcat(buf, "yes/"); strcat(buf, "yes/");
@ -155,7 +155,7 @@ const char *dbg_print_ptype(int val)
{ {
static char buf[256]; static char buf[256];
bzero(buf, 256); memset(buf, 0, 256);
if (val == P_UNKNOWN) if (val == P_UNKNOWN)
strcpy(buf, "unknown"); strcpy(buf, "unknown");
@ -1188,7 +1188,7 @@ static gchar **fill_row(struct menu *menu)
for (i = COL_OPTION; i <= COL_COLOR; i++) for (i = COL_OPTION; i <= COL_COLOR; i++)
g_free(row[i]); g_free(row[i]);
bzero(row, sizeof(row)); memset(row, 0, sizeof(row));
row[COL_OPTION] = row[COL_OPTION] =
g_strdup_printf("%s %s", menu_get_prompt(menu), g_strdup_printf("%s %s", menu_get_prompt(menu),