FreeBSD Bugzilla – Attachment 222362 Details for
Bug 253432
x11-fm/doublecmd: multiple instances fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Multiple instances fix
doublecmd-0.9.10_3.patch (text/plain), 2.23 KB, created by
Beñat Gonzalez Etxepare
on 2021-02-11 09:56:43 UTC
(
hide
)
Description:
Multiple instances fix
Filename:
MIME Type:
Creator:
Beñat Gonzalez Etxepare
Created:
2021-02-11 09:56:43 UTC
Size:
2.23 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 564928) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= doublecmd > PORTVERSION= 0.9.10 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= x11-fm > MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source > PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} >Index: files/patch-src_platform_unix_upipeserver.pas >=================================================================== >--- files/patch-src_platform_unix_upipeserver.pas (nonexistent) >+++ files/patch-src_platform_unix_upipeserver.pas (working copy) >@@ -0,0 +1,44 @@ >+--- src/platform/unix/upipeserver.pas.orig 2020-12-31 11:38:58 UTC >++++ src/platform/unix/upipeserver.pas >+@@ -30,9 +30,13 @@ function GetPipeFileName(const FileName: String; Globa >+ >+ implementation >+ >++{$IF DEFINED(LINUX) OR DEFINED(FREEBSD)} >++ {$DEFINE USE_XDG} >++{$ENDIF} >++ >+ uses >+ SimpleIPC, BaseUnix, uPollThread >+-{$IF DEFINED(LINUX)} >++{$IF DEFINED(USE_XDG)} >+ , uXdg >+ {$ENDIF} >+ ; >+@@ -65,7 +69,7 @@ Type >+ >+ function GetPipeFileName(const FileName: String; Global : Boolean): String; >+ begin >+-{$IF DEFINED(LINUX)} >++{$IF DEFINED(USE_XDG)} >+ Result:= IncludeTrailingBackslash(GetUserRuntimeDir) + FileName; >+ {$ELSE} >+ Result:= GetTempDir(Global) + ApplicationName + '-' + IntToStr(fpGetUID) + PathDelim + FileName; >+@@ -89,7 +93,7 @@ begin >+ end; >+ >+ constructor TPipeServerComm.Create(AOWner: TSimpleIPCServer); >+-{$IF NOT DEFINED(LINUX)} >++{$IF NOT DEFINED(USE_XDG)} >+ var >+ Info: TStat; >+ Directory: String; >+@@ -101,7 +105,7 @@ begin >+ FFileName:= FFileName + '-' + IntToStr(fpGetPID); >+ if FFileName[1] <> '/' then >+ FFileName:= GetPipeFileName(FFileName, Owner.Global); >+-{$IF NOT DEFINED(LINUX)} >++{$IF NOT DEFINED(USE_XDG)} >+ // Verify directory owner >+ Directory:= ExtractFileDir(FFileName); >+ if not DirectoryExists(Directory) then > >Property changes on: files/patch-src_platform_unix_upipeserver.pas >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
bbtruk
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 253432
: 222362