projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More confusing "(BYTE *) & val" style punctuation.
[u/mdw/putty]
/
windows
/
winutils.c
diff --git
a/windows/winutils.c
b/windows/winutils.c
index
450c030
..
b1ee011
100644
(file)
--- a/
windows/winutils.c
+++ b/
windows/winutils.c
@@
-5,7
+5,6
@@
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
-#include <limits.h>
#include "winstuff.h"
#include "misc.h"
#include "winstuff.h"
#include "misc.h"
@@
-26,7
+25,7
@@
*/
struct filereq_tag {
*/
struct filereq_tag {
- TCHAR cwd[
PATH_MAX
];
+ TCHAR cwd[
MAX_PATH
];
};
/*
};
/*
@@
-37,7
+36,7
@@
struct filereq_tag {
*/
BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save)
{
*/
BOOL request_file(filereq *state, OPENFILENAME *of, int preserve, int save)
{
- TCHAR cwd[
PATH_MAX
]; /* process CWD */
+ TCHAR cwd[
MAX_PATH
]; /* process CWD */
BOOL ret;
/* Get process CWD */
BOOL ret;
/* Get process CWD */