]> granicus.if.org Git - graphviz/commit
common: make awk crlf agnostic when generating svgcolor_lib
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 12 Aug 2021 19:57:44 +0000 (21:57 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 8 Sep 2021 16:35:34 +0000 (18:35 +0200)
commitbd510a6ffa2376ed984f72a56788db7be7ccce4d
tree23670e73adcfeeaccd8024dc62d7698d602e20a8
parenta6a9caef9912be05d5aa7a715e7e0214449bb8c5
common: make awk crlf agnostic when generating svgcolor_lib

Fixes errors like this with Cygwin in a crlf environment with
SHELLOPTS=igncr:

/cygdrive/c/Users/magja/graphviz/build/lib/common/common/colortbl.h:1524:2: error: missing terminating " character
 1524 | {"/svg/ ",0,255,255,255,0,0,0},
      |  ^~~~~~

Although not shown in the error message, this line actually contained
a carriage return after /svg/:

{"/svg/\r",0,255,255,255,0,0,0},
lib/common/CMakeLists.txt