Ignore:
Timestamp:
Jun 22, 2010, 1:13:59 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

network/os2: QLocalServer/QLocalSocket: Make sure the socket path name always starts with "\socket\" (fixes #166) [based on patch by rudi].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/network/socket/qlocalserver.cpp

    r651 r755  
    201201    Usually you would just pass in a name like "foo", but on Unix this
    202202    could also be a path such as "/tmp/foo" and on Windows this could
    203     be a pipe path such as "\\\\.\\pipe\\foo"
     203    be a pipe path such as "\\\\.\\pipe\\foo". On OS/2, "\\socket\\" is
     204    automatically prepended to the name if it does not already sttart with
     205    this prefix.
    204206
    205207    Note:
     
    298300    instance has not been cleaned up.
    299301
    300     On Windows, this function does nothing; on Unix, it removes the socket file
    301     given by \a name.
     302    On Windowse
     303    given by \a name.
    302304
    303305    \warning Be careful to avoid removing sockets of running instances.
Note: See TracChangeset for help on using the changeset viewer.