projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set WM_TRANSIENT_FOR appropriately on the "about" box so that fvwm doesn't
[u/mdw/putty]
/
mac
/
macmisc.c
diff --git
a/mac/macmisc.c
b/mac/macmisc.c
index
72a360a
..
a1a88f5
100644
(file)
--- a/
mac/macmisc.c
+++ b/
mac/macmisc.c
@@
-38,6
+38,7
@@
#include "putty.h"
#include "mac.h"
#include "putty.h"
#include "mac.h"
+#include "ssh.h"
#if TARGET_API_MAC_CARBON
/*
#if TARGET_API_MAC_CARBON
/*
@@
-155,7
+156,7
@@
int filename_is_null(Filename fn)
return fn.fss.vRefNum == 0 && fn.fss.parID == 0 && fn.fss.name[0] == 0;
}
return fn.fss.vRefNum == 0 && fn.fss.parID == 0 && fn.fss.name[0] == 0;
}
-FILE *f_open(Filename fn, char const *mode)
+FILE *f_open(Filename fn, char const *mode
, int is_private
)
{
short savevol;
long savedir;
{
short savevol;
long savedir;
@@
-182,8
+183,8
@@
struct tm ltime(void)
tm.tm_min=d.minute;
tm.tm_hour=d.hour;
tm.tm_mday=d.day;
tm.tm_min=d.minute;
tm.tm_hour=d.hour;
tm.tm_mday=d.day;
- tm.tm_mon=d.month;
- tm.tm_year=d.year;
+ tm.tm_mon=d.month
-1
;
+ tm.tm_year=d.year
-1900
;
tm.tm_wday=d.dayOfWeek;
tm.tm_yday=1; /* GetTime doesn't tell us */
tm.tm_isdst=0; /* Have to do DST ourselves */
tm.tm_wday=d.dayOfWeek;
tm.tm_yday=1; /* GetTime doesn't tell us */
tm.tm_isdst=0; /* Have to do DST ourselves */
@@
-193,7
+194,7
@@
struct tm ltime(void)
return tm;
}
return tm;
}
-const
char platform_x11_best_transport[] = "localhost"
;
+const
int platform_uses_x11_unix_by_default = FALSE
;
char *platform_get_x_display(void) {
return NULL;
char *platform_get_x_display(void) {
return NULL;