Add support for a space character as the first line of a .flo file entry,

to indicate that the remainder of the line is a file to be sent to the
remote system.  This is needed to allow transmitting files with names that
begin with .flo reserved characters such as ^, #, ~, or @.
This commit is contained in:
Andrew Leary
2014-11-02 20:50:46 -05:00
parent f61ae164a6
commit 72d6daa978
4 changed files with 15 additions and 2 deletions

View File

@@ -180,6 +180,7 @@ static void check_flo(file_list **lst, char *nm)
case '#': p=buf+1; disposition=TFS; break;
case '-':
case '^': p=buf+1; disposition=KFS; break;
case ' ':
case '@': p=buf+1; disposition=LEAVE; break;
case 0: continue;
default: p=buf; disposition=LEAVE; break;