]> git.lyx.org Git - features.git/commit
Fix bug 3410 by Georg and me
authorEnrico Forestieri <forenr@lyx.org>
Fri, 6 Apr 2007 17:38:11 +0000 (17:38 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 6 Apr 2007 17:38:11 +0000 (17:38 +0000)
commit396cb8861a485f649d2889364aee7f462a397685
treecad8b2e96d65415c02da3e9e75e73c6b7b1c1541
parent61023d5649950b0d8fecfe7c74300839cc8b7561
Fix bug 3410 by Georg and me

* src/support/tempname.C
(tempName): Return FileName in utf8 encoding.

* src/lyxsocket.[Ch]
(LyXServerSocket::LyXServerSocket): Use FileName instead of string
and set the env var LYXSOCKET in the filesystem encoding as this
is what the client expects.

* src/support/socktools.[Ch]
(socktools::listen): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.

* src/client/client.C
(socktools::connect): Convert to FileName and use the filesystem
encoding for the file names stored in the sockaddr_un struct.
(LyXDataSocket::LyXDataSocket, main): Convert to FileName.

* src/lyx_main.C
(LyX::exec): Use FileName instead of string in socket code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17749 a592a061-630c-0410-9148-cb99ea01b6c8
src/client/client.C
src/lyx_main.C
src/lyxsocket.C
src/lyxsocket.h
src/support/socktools.C
src/support/socktools.h
src/support/tempname.C