-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: urcd
action: commit
revision:
path_from:
revision_from: ca2b08d7c9ffa771663f3ef741c89c5248c6e0f6:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit ca2b08d7c9ffa771663f3ef741c89c5248c6e0f6
Author: root <root@localhost.(none)>
Date:   Tue Jun 24 02:03:37 2014 +0000

    [urc2sd.pyx] portability update

diff --git a/src/urc2sd.pyx b/src/urc2sd.pyx

index 189d2205d6ab67efc4fe8585acf451de973e98dd..

index ..40176fd728f44a90c24d79489e2a083a8821f536 100644

--- a/src/urc2sd.pyx
+++ b/src/urc2sd.pyx
@@ -93,12 +93,12 @@ signal.signal(signal.SIGTERM,sock_close)
 signal.signal(signal.SIGCHLD,sock_close)

 rd = 0
-if os.access('stdin',1):
+if os.access('stdin',os.X_OK):
  p = subprocess.Popen(['./stdin'],stdout=subprocess.PIPE)
  rd = p.stdout.fileno()
  del p

-if os.access('stdout',1):
+if os.access('stdout',os.X_OK):
  p = subprocess.Popen(['./stdout'],stdin=subprocess.PIPE,stdout=subprocess.PIPE)
  pipefd = ( p.stdout.fileno(), p.stdin.fileno() )
  del p

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:19:30 2024