diff --git a/7.2.365 b/7.2.365
new file mode 100644
index 0000000..e48990b
--- /dev/null
+++ b/7.2.365
@@ -0,0 +1,71 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.365 (extra)
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.365 (extra)
+Problem:    MS-Windows with MingW: "File->Save As" does not work. (John
+	    Marriott)
+Solution:   Correctly fill in structure size. (Andy Kittner)
+Files:	    src/gui_w48.c
+
+
+*** ../vim-7.2.364/src/gui_w48.c	2010-02-17 16:31:27.000000000 +0100
+--- src/gui_w48.c	2010-02-17 17:30:15.000000000 +0100
+***************
+*** 3345,3351 ****
+  #ifdef OPENFILENAME_SIZE_VERSION_400
+      /* be compatible with Windows NT 4.0 */
+      /* TODO: what to use for OPENFILENAMEW??? */
+!     fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400);
+  #else
+      fileStruct.lStructSize = sizeof(fileStruct);
+  #endif
+--- 3345,3351 ----
+  #ifdef OPENFILENAME_SIZE_VERSION_400
+      /* be compatible with Windows NT 4.0 */
+      /* TODO: what to use for OPENFILENAMEW??? */
+!     fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
+  #else
+      fileStruct.lStructSize = sizeof(fileStruct);
+  #endif
+***************
+*** 3506,3512 ****
+      memset(&fileStruct, 0, sizeof(OPENFILENAME));
+  #ifdef OPENFILENAME_SIZE_VERSION_400
+      /* be compatible with Windows NT 4.0 */
+!     fileStruct.lStructSize = sizeof(OPENFILENAME_SIZE_VERSION_400);
+  #else
+      fileStruct.lStructSize = sizeof(fileStruct);
+  #endif
+--- 3506,3512 ----
+      memset(&fileStruct, 0, sizeof(OPENFILENAME));
+  #ifdef OPENFILENAME_SIZE_VERSION_400
+      /* be compatible with Windows NT 4.0 */
+!     fileStruct.lStructSize = OPENFILENAME_SIZE_VERSION_400;
+  #else
+      fileStruct.lStructSize = sizeof(fileStruct);
+  #endif
+*** ../vim-7.2.364/src/version.c	2010-02-17 17:24:23.000000000 +0100
+--- src/version.c	2010-02-17 17:31:54.000000000 +0100
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     365,
+  /**/
+
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+246. You use up your free 100 hours in less than a week.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\        download, build and distribute -- http://www.A-A-P.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
diff --git a/README.patches b/README.patches
index baa5ca7..4551fb4 100644
--- a/README.patches
+++ b/README.patches
@@ -390,3 +390,9 @@ Individual patches for Vim 7.2:
   1565  7.2.357  CR displayed wrong when changing 'fileformat' from/to "mac"
   2384  7.2.358  compiler warnings on VMS
   1805  7.2.359  crash when using the Netbeans join command
+  2839  7.2.360  Ruby on MS-Windows: can't use sockets
+ 23442  7.2.361  Ruby 1.9 is not supported
+  2964  7.2.362  (extra, after 7.2.352) Win64 cross-compile problems
+  2521  7.2.363  Perl 5.10 dynamic loading doesn't work
+  2958  7.2.364  (extra) can't build gvimext.dll on Win 7 x64 using MinGW
+  2390  7.2.365  (extra) MS-Windows with MingW: "File->Save As" does not work
diff --git a/vim.spec b/vim.spec
index 563f43c..caeb1a8 100644
--- a/vim.spec
+++ b/vim.spec
@@ -18,7 +18,7 @@
 #used for pre-releases:
 %define beta %{nil}
 %define vimdir vim72%{?beta}
-%define patchlevel 359
+%define patchlevel 365
 
 Summary: The VIM editor
 URL:     http://www.vim.org/
@@ -425,6 +425,12 @@ Patch356: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.356
 Patch357: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.357
 Patch358: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.358
 Patch359: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.359
+Patch360: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.360
+Patch361: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.361
+Patch362: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.362
+Patch363: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.363
+Patch364: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.364
+Patch365: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.365
 
 Patch3000: vim-7.0-syntax.patch
 Patch3002: vim-7.1-nowarnings.patch
@@ -922,6 +928,12 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
 %patch357 -p0
 %patch358 -p0
 %patch359 -p0
+%patch360 -p0
+%patch361 -p0
+%patch362 -p0
+%patch363 -p0
+%patch364 -p0
+%patch365 -p0
 
 
 # install spell files
@@ -1386,6 +1398,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Wed Feb 17 2010 Karsten Hopp <karsten@redhat.com> 7.2.365-1
+- patchlevel 365
+
 * Fri Feb 12 2010 Karsten Hopp <karsten@redhat.com> 7.2.359-1
 - patchlevel 359