summaryrefslogtreecommitdiff
path: root/src/w32.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-11-12 09:38:27 -0800
committerGlenn Morris <rgm@gnu.org>2018-11-12 09:38:27 -0800
commit23209e2c194f20deba26d8894a25f0ac4a607fe3 (patch)
tree028930ef8214a18e9d1346afcfd8acc1ee21c1ed /src/w32.c
parentdb711687c3983eda60275dadcc4dc75119e6c0ae (diff)
parent913c001f43350a70c8fc9d3eb846242eb63c9ae8 (diff)
downloademacs-23209e2c194f20deba26d8894a25f0ac4a607fe3.tar.gz
Merge from origin/emacs-26
913c001 * lisp/files.el (write-file): Clarify the doc string. (Bug#3... d614b84 Fix typos in midnight.el 8c2778a Improve documentation of 'move-file-to-trash' c7b8a51 ; * doc/lispref/functions.texi (Anonymous Functions): Fix typo. 92296de * src/data.c (Ftype_of): xwidget objects are possible! (bug#3... a3242cc Improve documentation of Diff mode 39e85a0 Note that lex bound lambda forms are not self-quoting (Bug#33... fa605f2 Rewrite buffer display related doc-strings and doc aa55659 Fix call to GlobalMemoryStatusEx in w32.c # Conflicts: # doc/emacs/files.texi # src/data.c
Diffstat (limited to 'src/w32.c')
-rw-r--r--src/w32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/w32.c b/src/w32.c
index 3eaa1279dd6..26cfae7a6af 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -7225,6 +7225,7 @@ system_process_attributes (Lisp_Object pid)
code_convert_string_norecord (tem, Vlocale_coding_system, 0)),
attrs);
+ memstex.dwLength = sizeof (memstex);
if (global_memory_status_ex (&memstex))
#if __GNUC__ || (defined (_MSC_VER) && _MSC_VER >= 1300)
totphys = memstex.ullTotalPhys / 1024.0;