File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 8888 (setq pname " /usr/X11R6/bin/cygX11-6.dll" ))
8989
9090 ; ; for receiving Window Manager Messages
91- (if (probe-file pname)
91+ (if (and pname ( probe-file pname) )
9292 (setq x-lib (load-foreign pname))
9393 (setq x-lib (sys ::sysmod)))
9494 (defforeign SetWMProtocols x-lib " XSetWMProtocols" () :integer ))
Original file line number Diff line number Diff line change 1+ ; ; test code for probe-file
2+
3+ (require :unittest " lib/llib/unittest.l" )
4+ (init-unit-test)
5+
6+ ; ; irteusx errors when a file named 'NIL' exists https://github.com/euslisp/jskeus/pull/618
7+ (deftest nil-file-with-irtx
8+ (let ()
9+ (unix ::chdir " /tmp" )
10+ (with-open-file (f " NIL" :direction :output )(format f " NIL" ))
11+ (assert (load " irteus/irtx.l" ))
12+ ))
13+
14+
15+ (run-all-tests)
16+ (exit)
You can’t perform that action at this time.
0 commit comments