From 12a9c874804dc2970c44b223ec1059bd57900169 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 15 Jun 2001 04:50:57 +0000 Subject: * mkpasswd.c (main): Output passwd file in binary mode so that there are no CRs in the file. * umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts. --- winsup/utils/mkpasswd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/utils/mkpasswd.c') diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c index 1d8db88ca..1a4969801 100644 --- a/winsup/utils/mkpasswd.c +++ b/winsup/utils/mkpasswd.c @@ -17,6 +17,7 @@ #include #include #include +#include SID_IDENTIFIER_AUTHORITY sid_world_auth = {SECURITY_WORLD_SID_AUTHORITY}; SID_IDENTIFIER_AUTHORITY sid_nt_auth = {SECURITY_NT_AUTHORITY}; @@ -369,6 +370,7 @@ main (int argc, char **argv) SID_NAME_USE use; passed_home_path[0] = '\0'; + setmode (1, O_BINARY); if (GetVersion () < 0x80000000) if (argc == 1) -- cgit v1.2.3