Is edbrowse targeting C89 or there is a reason why some of the newer features aren't used? That could be the case very well, if a compilation under Visual Studio is supported, since Microsoft decided not to update C beyond C89.
I'm asking, because there are places, where code could be improved a little bit. Some examples: - designated initializer for arrays in message.c - bool type from <stdbool.h> instead of eb_bool (this is cosmetic) - snprintf() for string manipulation with bound checking, could be used to replace strcpy()/strcat() where performance isn't important - strdup() instead of cloneString(), asprintf() instead of appendString () and prependString(). Those aren't standard functions, but enviroment with C99 compiler should provide them. But then according to readme, edbrowse is moving toward C++, so maybe it isn't worth the hustle. -- Paul Onyschuk _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
