mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-06 21:54:45 +02:00
Fixes to SFTP progress meter
This commit is contained in:
parent
5a60b811fe
commit
eed9299081
@ -4,10 +4,9 @@
|
|||||||
/* Compatibility header to avoid lots of #ifdef _WIN32's in includes.h */
|
/* Compatibility header to avoid lots of #ifdef _WIN32's in includes.h */
|
||||||
typedef unsigned int uid_t;
|
typedef unsigned int uid_t;
|
||||||
typedef unsigned int gid_t;
|
typedef unsigned int gid_t;
|
||||||
typedef long _off_t;
|
//typedef size_t _off_t;
|
||||||
typedef long off_t;
|
typedef size_t off_t;
|
||||||
typedef unsigned int _dev_t;
|
typedef _dev_t dev_t;
|
||||||
typedef unsigned int dev_t;
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -313,4 +313,5 @@ setscreensize(void)
|
|||||||
win_size = DEFAULT_WINSIZE;
|
win_size = DEFAULT_WINSIZE;
|
||||||
win_size += 1; /* trailing \0 */
|
win_size += 1; /* trailing \0 */
|
||||||
#endif
|
#endif
|
||||||
|
win_size = DEFAULT_WINSIZE + 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user