search for: pathsep

Displaying 5 results from an estimated 5 matches for "pathsep".

2000 Dec 18
2
scp remote path specification
...ven PS: a small patch so that /full/path/to/scp will find the corresponding local /full/path/to/ssh is appended below. --- openssh/scp.c~ Sat Oct 28 05:19:58 2000 +++ openssh/scp.c Tue Nov 7 17:59:37 2000 @@ -245,7 +245,7 @@ char *argv[]; { int ch, fflag, tflag; - char *targ; + char *targ, *pathsep; extern char *optarg; extern int optind; @@ -253,6 +253,19 @@ addargs("ssh"); /* overwritten with ssh_program */ addargs("-x"); addargs("-oFallBackToRsh no"); + + /* check explicit path for ssh binary, default is SSH_PROGRAM */ + if ((argc > 0) &&a...
2010 Dec 23
3
[LLVMdev] LLVM on Cygwin: why tests don't run
...uot;make check-all" fails to run because lit doesn't find the freshly built clang. The reason is as follows: in llvm/utils/lit/lit/Util.py, in the "which" method, there's 66: # Get suffixes to search. 67: pathext = os.environ.get('PATHEXT', '').split(os.pathsep) The problem is, PATHEXT is imported verbatim from the Windows environment into the Cygwin environment, so it contains for example PATHEXT=.COM;.EXE;.BAT;.CMD;.WSH However, under Cygwin os.pathsep is the Unix-style ':' rather than the Windows-style ';' so this fails to chop up PAT...
2020 Aug 06
2
How to make a subdirectory in a lit test?
...he built-in mkdir to use a Posix-style one from Git or GnuWin. The built-in mkdir believes the `/subdir` is an unrecognized command flag. I figure I cannot just use a backslash because that would fail on Posix systems. (The test should run on all platforms.) The lit documentation mentioned a `%{pathsep}` macro, so I tried that. After several minutes of confusing results, I discovered this is not for the path component separator, but for the separators used between paths in the PATH environment variable. On Windows, that's ';', which doesn't help. Suggestions? Thanks, Adrian McC...
2020 Aug 06
2
How to make a subdirectory in a lit test?
...tyle one from Git or GnuWin. The built-in mkdir believes the > `/subdir` is an unrecognized command flag. I figure I cannot just use a > backslash because that would fail on Posix systems. (The test should run > on all platforms.) > > > > The lit documentation mentioned a `%{pathsep}` macro, so I tried that. > After several minutes of confusing results, I discovered this is not for > the path component separator, but for the separators used between paths in > the PATH environment variable. On Windows, that's ';', which doesn't help. > > > &gt...
2010 Dec 29
2
unoconv 0.4 issues
...002;urp;' unoconv --stdout -f text Test.doc Input file: Test.doc created by OOo as new file with single lline of text. Error message: Traceback (most recent call last): File "/usr/bin/unoconv", line 67, in <module> os.environ['LD_LIBRARY_PATH'] = oolibpath + os.pathsep + os.environ['LD_LIBRARY_PATH'] File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'LD_LIBRARY_PATH' Fix: patch from https://bugzillafiles.novell.org/attachment.cgi?id=403158 Second issue ============ Commands and input...