File: 0005-Fully-prototype-DoStat-DoUnsupported-Closes-1114219.patch

package info (click to toggle)
mysecureshell 2.00%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 904 kB
  • sloc: ansic: 7,421; sh: 700; perl: 264; makefile: 118
file content (30 lines) | stat: -rw-r--r-- 782 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: =?utf-8?b?0L3QsNCx?= <nabijaczleweli@nabijaczleweli.xyz>
Date: Fri, 5 Sep 2025 22:06:23 +0200
Subject: Fully prototype DoStat()/DoUnsupported() (Closes: #1114219)

---
 SftpServer/Sftp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SftpServer/Sftp.h b/SftpServer/Sftp.h
index 75a421b..cb0b7fe 100644
--- a/SftpServer/Sftp.h
+++ b/SftpServer/Sftp.h
@@ -285,7 +285,7 @@ void DoOpen();
 void DoRead();
 void DoWrite();
 void DoReadLink();
-void DoStat();
+void DoStat(int doLStat);
 void DoFStat();
 void DoSetStat(int usePath);
 void DoRemove();
@@ -293,7 +293,7 @@ void DoMkDir();
 void DoRmDir();
 void DoRename();
 void DoSymLink();
-void DoUnsupported();
+void DoUnsupported(int msgType, int msgLen);
 void DoExtended();
 void DoSFTPProtocol();