Print this page
5910 libnisdb won't build with modern GCC

*** 21,30 **** --- 21,32 ---- /* * nis_db.cc * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2015 RackTop Systems. */ #include <sys/param.h> #include <strings.h>
*** 142,152 **** extern "C" { bool_t db_in_dict_file(char *name) { ! return ((bool_t) InUseDictionary->find_table_desc(name)); } const char *db_perror(db_status dbstat) --- 144,154 ---- extern "C" { bool_t db_in_dict_file(char *name) { ! return (InUseDictionary->find_table_desc(name) != NULL); } const char *db_perror(db_status dbstat)