commit | 1cbc292bc0b43a03071ef4924d14186dd0cf054e | [log] [download] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Fri Oct 26 14:27:45 2007 +1000 |
committer | Damien Miller <djm@mindrot.org> | Fri Oct 26 14:27:45 2007 +1000 |
tree | 972ac460d199727262aa83a738b22aac0076b2f1 | |
parent | 5a4456c6a592143a0a25ad925279eaf9ff620cc4 [diff] |
- djm@cvs.openbsd.org 2007/10/24 03:30:02 [sftp.c] rework argument splitting and parsing to cope correctly with common shell escapes and make handling of escaped characters consistent with sh(1) and between sftp commands (especially between ones that glob their arguments and ones that don't). parse command flags using getopt(3) rather than hand-rolled parsers. ok dtucker@