Module: wine
Branch: master
Commit: 535f7bde80231fc125402f3dff0fa1303bbf6fb7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=535f7bde80231fc125402f3df…
Author: Sven Baars <sven.wine(a)gmail.com>
Date: Sat Aug 28 13:43:01 2010 +0200
ipconfig: Add the Dutch translation.
---
programs/ipconfig/Makefile.in | 1 +
programs/ipconfig/Nl.rc | 45 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/programs/ipconfig/Makefile.in b/programs/ipconfig/Makefile.in
index a19bffa..40966a9 100644
--- a/programs/ipconfig/Makefile.in
+++ b/programs/ipconfig/Makefile.in
@@ -16,6 +16,7 @@ RC_SRCS = \
It.rc \
Ko.rc \
Lt.rc \
+ Nl.rc \
Sv.rc \
Uk.rc
diff --git a/programs/ipconfig/Nl.rc b/programs/ipconfig/Nl.rc
new file mode 100644
index 0000000..cda3152
--- /dev/null
+++ b/programs/ipconfig/Nl.rc
@@ -0,0 +1,45 @@
+/*
+ * IP configuration utility
+ * Dutch language support
+ *
+ * Copyright 2010 Sven Baars
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "ipconfig.h"
+
+LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
+
+STRINGTABLE
+{
+ STRING_USAGE, "Gebruik: ipconfig [ /? | /all ]\n"
+ STRING_INVALID_CMDLINE, "Fout: Onbekende of ongeldige commandoregelparameters gespecificeerd\n"
+ STRING_ADAPTER_FRIENDLY, "%s adapter %s\n"
+ STRING_ETHERNET, "Ethernet"
+ STRING_UNKNOWN, "Onbekend"
+ STRING_CONN_DNS_SUFFIX, "Verbindings-specifiek DNS-achtervoegsel"
+ STRING_IP_ADDRESS, "IP-adres"
+ STRING_HOSTNAME, "Hostnaam"
+ STRING_NODE_TYPE, "Node-type"
+ STRING_BROADCAST, "Broadcast"
+ STRING_PEER_TO_PEER, "Peer-to-peer"
+ STRING_MIXED, "Gemixt"
+ STRING_HYBRID, "Hybride"
+ STRING_IP_ROUTING, "IP-routing geactiveerd"
+ STRING_DESCRIPTION, "Beschrijving"
+ STRING_PHYS_ADDR, "Fysiek adres"
+ STRING_DHCP_ENABLED, "DHCP geactiveerd"
+}
Module: wine
Branch: master
Commit: 63c7ea649427c1518d1e8b3305620dfdf1dba358
URL: http://source.winehq.org/git/wine.git/?a=commit;h=63c7ea649427c1518d1e8b330…
Author: Eric Pouech <eric.pouech(a)orange.fr>
Date: Sat Aug 28 09:09:24 2010 +0200
dbghelp: Use virtual size (not raw/file size) when getting the size of a PE section.
---
dlls/dbghelp/pe_module.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index 18cec9a..d41cdf4 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -79,6 +79,14 @@ const char* pe_map_section(struct image_section_map* ism)
fmap->sect[ism->sidx].mapped == IMAGE_NO_MAP)
{
IMAGE_NT_HEADERS* nth;
+
+ if (fmap->sect[ism->sidx].shdr.Misc.VirtualSize > fmap->sect[ism->sidx].shdr.SizeOfRawData)
+ {
+ FIXME("Section %ld: virtual (0x%x) > raw (0x%x) size - not supported\n",
+ ism->sidx, fmap->sect[ism->sidx].shdr.Misc.VirtualSize,
+ fmap->sect[ism->sidx].shdr.SizeOfRawData);
+ return IMAGE_NO_MAP;
+ }
/* FIXME: that's rather drastic, but that will do for now
* that's ok if the full file map exists, but we could be less agressive otherwise and
* only map the relevant section
@@ -162,13 +170,13 @@ DWORD_PTR pe_get_map_rva(const struct image_section_map* ism)
/******************************************************************
* pe_get_map_size
*
- * Get the size of an PE section
+ * Get the size of a PE section
*/
unsigned pe_get_map_size(const struct image_section_map* ism)
{
if (ism->sidx < 0 || ism->sidx >= ism->fmap->u.pe.ntheader.FileHeader.NumberOfSections)
return 0;
- return ism->fmap->u.pe.sect[ism->sidx].shdr.SizeOfRawData;
+ return ism->fmap->u.pe.sect[ism->sidx].shdr.Misc.VirtualSize;
}
/******************************************************************