------------------------------------------------------------ revno: 12618 revision-id: squid3@treenet.co.nz-20130911005853-v5hvdzkv8e02oepa parent: squid3@treenet.co.nz-20130911005809-hnd3tqx7bl677jti committer: Amos Jeffries branch nick: 3.3 timestamp: Tue 2013-09-10 18:58:53 -0600 message: Windows: fix getopt.c build error with MinGW Resolve warning 'initialization discards const qualifieer from pointer'. This is an iCelero project. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20130911005853-v5hvdzkv8e02oepa # target_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # testament_sha1: 31949c6962f570ca467e948e764a9d6b2e8177b9 # timestamp: 2013-09-11 01:08:41 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/3.3 # base_revision_id: squid3@treenet.co.nz-20130911005809-\ # hnd3tqx7bl677jti # # Begin patch === modified file 'lib/getopt.c' --- lib/getopt.c 2012-01-20 18:55:04 +0000 +++ lib/getopt.c 2013-09-11 00:58:53 +0000 @@ -45,7 +45,7 @@ #define BADCH (int)'?' #define BADARG (int)':' -#define EMSG "" +#define EMSG (char*)"" /* * getopt --