Displaying 1 result from an estimated 1 matches for "cd10287".
Did you mean:
10287
2016 Sep 20
4
[PATCH] Allow scp to copy files that start with a Windows drive name.
...uperuser.com/q/338075/71253
- https://ubuntuforums.org/archive/index.php/t-1131655.html
- http://www.linuxquestions.org/questions/linux-newbie-8/transfer-files-from-linux-to-windows-pscp-4175530524/
---
misc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/misc.c b/misc.c
index 9421b4d..cd10287 100644
--- a/misc.c
+++ b/misc.c
@@ -435,6 +435,10 @@ colon(char *cp)
if (*cp == ':') /* Leading colon is part of file name. */
return NULL;
+#ifdef HAVE_CYGWIN
+ if (isalpha(*cp) && *(cp+1) == ':') /* Do not split at drive name. */
+ return NULL;
+#endif
if (*cp...