Ãvar ArnfjÃrà Bjarmason wrote: > These are the modifications I made to envsubst.c as I turned it into > sh-i18n--envsubst.c: > > * Added our git-compat-util.h header for xrealloc() and friends. > > * Removed inclusion of gettext-specific headers. > > * Removed most of main() and replaced it with my own. The modified > version only does option parsing for --variables. That's all it > needs. > > * Modified error() invocations to use our error() instead of > error(3). > > * Replaced the gettext XNMALLOC(n, size) macro with just > xmalloc(n). Since XNMALLOC() only allocated char's. > > * Removed the string_list_destroy function. It's redundant (also in > the upstream code). > > * Replaced the use of stdbool.h (a C99 header) by doing the following > replacements on the code: Nit: can this be moved to a subdir? Maybe po or i18n, or even envsubst. This could make it clearer that the code has an upstream and should be updated when upstream is. Jonathan -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html