diff options
author | Damien Miller <djm@mindrot.org> | 2000-09-05 07:13:06 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-09-05 07:13:06 +0200 |
commit | bac2d8aa5e642a70045e713853b13d020b9c5d57 (patch) | |
tree | 98ddc81efce2273b3dfaff03b51242c988d30abf /sshd.c | |
parent | Fix spec files (diff) | |
download | openssh-bac2d8aa5e642a70045e713853b13d020b9c5d57.tar.xz openssh-bac2d8aa5e642a70045e713853b13d020b9c5d57.zip |
- (djm) Merge cygwin support from Corinna Vinschen <vinschen@cygnus.com>
Diffstat (limited to '')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -765,7 +765,7 @@ main(int ac, char **av) * fail if there already is a daemon, and this will * overwrite any old pid in the file. */ - f = fopen(options.pid_file, "w"); + f = fopen(options.pid_file, "wb"); if (f) { fprintf(f, "%u\n", (unsigned int) getpid()); fclose(f); |