> -----Original Message----- > From: Legacy, Allain > Sent: Monday, March 27, 2017 7:13 AM > To: DUMITRESCU, CRISTIAN FLORIN; RICHARDSON, BRUCE > Cc: yuanhan....@linux.intel.com; dev@dpdk.org > Subject: RE: [PATCH v2 6/6] cfgfile: add support for empty value string > > We have a legacy file format that we need to support. Other parts of our > system are able to handle a "key=" entry in the file so we are trying to gain > parity with those parsers. > I should have also mentioned that I briefly considered changing rte_strsplit() to be able to handle that case because in python the split function handles this scenario in the desired way:
a = "key=" a.split('=') ['key', ''] But, I figured that change would be too intrusive and would likely be rejected. Allain