Ticket #16833: patch-dbus-launch-x11.c.diff

File patch-dbus-launch-x11.c.diff, 288 bytes (added by mp@…, 16 years ago)

Patches dbus-launch-x11.c to replace '/' characters with '_' in the session filename

  • ./tools/dbus-launch-x11.c

    old new  
    143143   */
    144144  for (p = display; *p; ++p)
    145145    {
    146       if (*p == ':')
     146      if (*p == ':' || *p == '/')
    147147        *p = '_';
    148148    }
    149149