#48 xrdp.ini read doesn't honor commented out sections

open
nobody
xrdp (25)
5
2013-03-07
2013-03-06
A.Rohde
No

When xrdp.ini is read it doesn't honor commented out sessions/modules.
100% reproducible, comment out any [xrdp#] section in xrdp.ini and restart service.

It appears to be a function of how file.c processes lines.

I have attached a patch file with the lines needed to resolve the issue.
I apologize if it requires any editing to merge easily, and would appreciate any advice for improving future patch files.

Discussion

  • A.Rohde
    A.Rohde
    2013-03-06

    patch for common/file.c

     
    Attachments
  • A.Rohde
    A.Rohde
    2013-03-07

    • summary: xrdp.ini read doesn't honor some comments --> xrdp.ini read doesn't honor commented out sections
     
  • A.Rohde
    A.Rohde
    2013-03-07

    updated title for clarity.