Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Issue 215058: Correctly talk to VMS servers (translate UNIX paths to VMS and vice versa). (Closed)

Created:
11 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Correctly talk to VMS servers (translate UNIX paths to VMS and vice versa). This way we get a native VMS listing and not a UNIX emulation mode, which is slightly different than native UNIX and confuses the parser. TEST=Covered by net_unittests. BUG=22193 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27129

Patch Set 1 #

Total comments: 9

Patch Set 2 : updated #

Total comments: 14

Patch Set 3 : nits #

Total comments: 1

Patch Set 4 : simplify #

Total comments: 3

Patch Set 5 : fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -12 lines) Patch
M net/ftp/ftp_network_transaction.h View 1 2 3 4 3 chunks +18 lines, -2 lines 0 comments Download
M net/ftp/ftp_network_transaction.cc View 1 2 3 4 10 chunks +67 lines, -10 lines 0 comments Download
M net/ftp/ftp_network_transaction_unittest.cc View 4 chunks +123 lines, -0 lines 0 comments Download
A net/ftp/ftp_util.h View 1 1 chunk +26 lines, -0 lines 0 comments Download
A net/ftp/ftp_util.cc View 1 2 1 chunk +107 lines, -0 lines 0 comments Download
A net/ftp/ftp_util_unittest.cc View 1 2 3 1 chunk +101 lines, -0 lines 0 comments Download
M net/net.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Paweł Hajdan Jr.
11 years, 3 months ago (2009-09-22 22:46:21 UTC) #1
eroman
lgtm http://codereview.chromium.org/215058/diff/1/2 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/215058/diff/1/2#newcode660 Line 660: line.find("unix") != std::string::npos || Does it matter ...
11 years, 3 months ago (2009-09-23 21:02:25 UTC) #2
Paweł Hajdan Jr.
Patch updated. I can actually explain the LIST *.*;0 thing. It orders the server to ...
11 years, 3 months ago (2009-09-23 21:24:13 UTC) #3
wtc
LGTM. Some suggested changes below. I didn't review the unit tests and the Unix/VMS path ...
11 years, 3 months ago (2009-09-23 23:45:47 UTC) #4
Paweł Hajdan Jr.
On 2009/09/23 23:45:47, wtc wrote: > http://codereview.chromium.org/215058/diff/4001/4002#newcode331 > Line 331: if (!path.empty() && path[path.length() - ...
11 years, 3 months ago (2009-09-24 01:08:35 UTC) #5
wtc
LGTM. http://codereview.chromium.org/215058/diff/4001/4002 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/215058/diff/4001/4002#newcode331 Line 331: if (!path.empty() && path[path.length() - 1] == ...
11 years, 3 months ago (2009-09-24 18:21:55 UTC) #6
Paweł Hajdan Jr.
Patch updated. Should be more straightforward now. If the code is not clear, then something ...
11 years, 3 months ago (2009-09-24 19:24:07 UTC) #7
wtc
LGTM. http://codereview.chromium.org/215058/diff/2005/2006 File net/ftp/ftp_network_transaction.cc (right): http://codereview.chromium.org/215058/diff/2005/2006#newcode336 Line 336: path = path.substr(0, path.length() - 1); Try ...
11 years, 3 months ago (2009-09-24 20:37:41 UTC) #8
Paweł Hajdan Jr.
11 years, 3 months ago (2009-09-24 21:01:04 UTC) #9
Done. Will commit when the tree re-opens.

Powered by Google App Engine
This is Rietveld 408576698