{"thread":{"id":"27646","subject":"[PATCH] sh-i18n--envsubst.c: do not #include getopt.h","startedAt":"2011-06-17T18:19:26Z","lastAt":"2011-06-17T21:28:51Z","messageCount":2,"participants":["Brandon Casey","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"170188","messageId":"kRqfchEd_hGmm2-6DxLIF_ZcWaZwm2iR22QJo3x5ntYrK5NZzsgLexeDbn1dSo9BMP8SLjkiTqiNION3P1CL0w@cipher.nrlssc.navy.mil","threadId":"27646","inReplyTo":null,"subject":"[PATCH] sh-i18n--envsubst.c: do not #include getopt.h","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2011-06-17T18:19:26Z","receivedAt":"2011-06-17T18:19:26Z","isPatch":true,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"From: Brandon Casey <drafnel@gmail.com>\n\nThe getopt.h header file is not used.  It's inclusion is left over from the\noriginal version of this source.  Additionally, getopt.h does not exist on\nall platforms (SunOS 5.7) and will cause a compilation failure.  So, let's\nremove it.\n\nSigned-off-by: Brandon Casey <casey@nrlssc.navy.mil>\n---\n sh-i18n--envsubst.c |    1 -\n 1 files changed, 0 insertions(+), 1 deletions(-)\n\ndiff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c\nindex 2eb0ee4..9d2e971 100644\n--- a/sh-i18n--envsubst.c\n+++ b/sh-i18n--envsubst.c\n@@ -51,7 +51,6 @@\n    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */\n \n #include <errno.h>\n-#include <getopt.h>\n #include <stdio.h>\n #include <stdlib.h>\n #include <string.h>\n-- \n1.7.6.rc1.3.g600a62\n"},{"id":"170192","messageId":"7vhb7of8q3.fsf@alter.siamese.dyndns.org","threadId":"27646","inReplyTo":"kRqfchEd_hGmm2-6DxLIF_ZcWaZwm2iR22QJo3x5ntYrK5NZzsgLexeDbn1dSo9BMP8SLjkiTqiNION3P1CL0w@cipher.nrlssc.navy.mil","subject":"Re: [PATCH] sh-i18n--envsubst.c: do not #include getopt.h","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-06-17T21:28:51Z","receivedAt":"2011-06-17T21:28:51Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Brandon Casey <casey@nrlssc.navy.mil> writes:\n\n> From: Brandon Casey <drafnel@gmail.com>\n>\n> The getopt.h header file is not used.  It's inclusion is left over from the\n> original version of this source.  Additionally, getopt.h does not exist on\n> all platforms (SunOS 5.7) and will cause a compilation failure.  So, let's\n> remove it.\n>\n> Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>\n\nThanks; will queue.\n"}]}