projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now
[u/mdw/putty]
/
cmdgen.c
diff --git
a/cmdgen.c
b/cmdgen.c
index
dfca9dc
..
d8d5a94
100644
(file)
--- a/
cmdgen.c
+++ b/
cmdgen.c
@@
-893,7
+893,7
@@
int main(int argc, char **argv)
assert(ssh1key);
if (outfile)
assert(ssh1key);
if (outfile)
- fp = f_open(outfilename, "w");
+ fp = f_open(outfilename, "w"
, FALSE
);
else
fp = stdout;
dec1 = bignum_decimal(ssh1key->exponent);
else
fp = stdout;
dec1 = bignum_decimal(ssh1key->exponent);
@@
-951,7
+951,7
@@
int main(int argc, char **argv)
*p++ = '\0';
if (outfile)
*p++ = '\0';
if (outfile)
- fp = f_open(outfilename, "w");
+ fp = f_open(outfilename, "w"
, FALSE
);
else
fp = stdout;
fprintf(fp, "%s\n", buffer);
else
fp = stdout;
fprintf(fp, "%s\n", buffer);
@@
-981,7
+981,7
@@
int main(int argc, char **argv)
}
if (outfile)
}
if (outfile)
- fp = f_open(outfilename, "w");
+ fp = f_open(outfilename, "w"
, FALSE
);
else
fp = stdout;
fprintf(fp, "%s\n", fingerprint);
else
fp = stdout;
fprintf(fp, "%s\n", fingerprint);