Menu

#2 Should accept unit types both with and without leading zeros

Main Group
closed
nobody
None
5
2014-04-01
2014-02-23
No

E.g. should accept both
M48
INCH
T64C0.126
...
and
M48
INCH,LZ
T64C0.126

currently the following code:

        if (strncmp(strNCDrill.c_str(), "INCH,", strlen("INCH,")) == 0)

accepts only commands with something containing comma.

Discussion

  • Sergey S. Fukanchik

    Proposed patch.

     
  • Stepan Dyatkovsky

    Fixed in r8

     
  • Stepan Dyatkovsky

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB