diff options
author | Hans Nilsson <[email protected]> | 2017-03-13 14:54:40 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-04-07 10:19:56 +0200 |
commit | ee8a5fa4da90016d6f17db2aa9f43bd98ca04985 (patch) | |
tree | a4dd112ec9597084062923a05a402dcd068e8ba2 /lib/ssh/src/ssh_sftp.erl | |
parent | 26fffbb94ec15646235f1ba91aa3afcfb9711daa (diff) | |
download | otp-ee8a5fa4da90016d6f17db2aa9f43bd98ca04985.tar.gz otp-ee8a5fa4da90016d6f17db2aa9f43bd98ca04985.tar.bz2 otp-ee8a5fa4da90016d6f17db2aa9f43bd98ca04985.zip |
ssh: Removed outdated comment in ssh_sftpd.erl
Diffstat (limited to 'lib/ssh/src/ssh_sftp.erl')
-rw-r--r-- | lib/ssh/src/ssh_sftp.erl | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/ssh/src/ssh_sftp.erl b/lib/ssh/src/ssh_sftp.erl index 140856c8e3..f1f7b57e8d 100644 --- a/lib/ssh/src/ssh_sftp.erl +++ b/lib/ssh/src/ssh_sftp.erl @@ -1063,15 +1063,6 @@ attr_to_info(A) when is_record(A, ssh_xfer_attr) -> gid = A#ssh_xfer_attr.group}. -%% Added workaround for sftp timestam problem. (Timestamps should be -%% in UTC but they where not) . The workaround uses a deprecated -%% function i calandar. This will work as expected most of the time -%% but has problems for the same reason as -%% calendar:local_time_to_universal_time/1. We consider it better that -%% the timestamps work as expected most of the time instead of none of -%% the time. Hopfully the file-api will be updated so that we can -%% solve this problem in a better way in the future. - unix_to_datetime(undefined) -> undefined; unix_to_datetime(UTCSecs) -> |