Module: wine
Branch: master
Commit: e4c59c263d21bed459bfe66091c7da3db643a44a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e4c59c263d21bed459bfe6609…
Author: Hans Leidekker <hans(a)it.vu.nl>
Date: Sun Mar 30 19:17:31 2008 +0100
wininet: Don't set the host port from the server port.
This works for direct connections but in case of proxy connections server
port and host port usually are different.
---
dlls/wininet/http.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 40cd3ff..a197c43 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -1960,7 +1960,11 @@ HINTERNET WINAPI HTTP_HttpOpenRequestW(LPWININETHTTPSESSIONW lpwhs,
lpwhs->nServerPort = (dwFlags & INTERNET_FLAG_SECURE ?
INTERNET_DEFAULT_HTTPS_PORT :
INTERNET_DEFAULT_HTTP_PORT);
- lpwhs->nHostPort = lpwhs->nServerPort;
+
+ if (lpwhs->nHostPort == INTERNET_INVALID_PORT_NUMBER)
+ lpwhs->nHostPort = (dwFlags & INTERNET_FLAG_SECURE ?
+ INTERNET_DEFAULT_HTTPS_PORT :
+ INTERNET_DEFAULT_HTTP_PORT);
if (NULL != hIC->lpszProxy && hIC->lpszProxy[0] != 0)
HTTP_DealWithProxy( hIC, lpwhs, lpwhr );
Module: wine
Branch: master
Commit: f40e9258043227c6ac48b82eb8c2815c7922e558
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f40e9258043227c6ac48b82eb…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Sun Mar 30 01:08:06 2008 +0100
net: Add Norwegian Bokmål resource.
---
programs/net/No.rc | 43 +++++++++++++++++++++++++++++++++++++++++++
programs/net/rsrc.rc | 1 +
2 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/programs/net/No.rc b/programs/net/No.rc
new file mode 100644
index 0000000..ededb05
--- /dev/null
+++ b/programs/net/No.rc
@@ -0,0 +1,43 @@
+/*
+ * NET.EXE - Wine-compatible net program
+ * Norwegian (Bokm�l) language support
+ *
+ * Copyright (C) 2008 Alexander N. S�rnes <alex(a)thehandofagony.com>
+ *
+ * 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
+ */
+
+LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
+
+STRINGTABLE
+{
+ STRING_USAGE, "Programmet brukes som f�lger:\n\nNET [ HELP | START | STOP ]\n"
+ STRING_START_USAGE, "Oppgi navnet p� tjeneren soms skal startes.\n"
+ STRING_STOP_USAGE, "Oppgi navnet p� tjeneren som skal stoppes.\n"
+ STRING_STOP_DEP, "Stopper avhengig tjeneste: %s\n"
+ STRING_CANT_STOP, "Klarte ikke stoppe tjenesten �%s�\n"
+ STRING_NO_SCM, "Klarte ikke n� tjenestebehandleren.\n"
+ STRING_NO_SVCHANDLE, "Klarte ikke n� tjenesten.\n"
+ STRING_START_SVC, "Tjenesten �%s� starter.\n"
+ STRING_START_SVC_SUCCESS, "Tjenesten �%s� ble startet vellykket.\n"
+ STRING_START_SVC_FAIL, "Tjenesten �%s� klarte ikke starte.\n"
+ STRING_STOP_SVC, "Tjenesten �%s� stopper.\n"
+ STRING_STOP_SVC_SUCCESS, "Tjenesten �%s� ble stoppet vellykket.\n"
+ STRING_STOP_SVC_FAIL, "Klarte ikke stoppe tjenesten �%s�.\n"
+ STRING_HELP_USAGE, "Hjelp brukes som f�lgende:\n\nNET HELP kommando\n -eller-\nNET kommando /HELP\n\n Tilgjengelige kommandoer:\n NET HELP NET START NET STOP\n"
+ STRING_NO_ENTRIES, "Det er ingen oppf�ringer p� listen.\n"
+ STRING_USE_HEADER, "\nStatus Lokal Remote\n---------------------------------------------------------------\n"
+ STRING_USE_ENTRY, "%s %S %S �pne ressurser: %lu\n"
+}
diff --git a/programs/net/rsrc.rc b/programs/net/rsrc.rc
index 3511882..e26cbff 100644
--- a/programs/net/rsrc.rc
+++ b/programs/net/rsrc.rc
@@ -26,5 +26,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "Fr.rc"
#include "Ko.rc"
#include "Nl.rc"
+#include "No.rc"
#include "Pl.rc"
#include "Ru.rc"
Module: wine
Branch: master
Commit: 31bb5dcf03868408aa7994200ce16ffd6da6536c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=31bb5dcf03868408aa7994200…
Author: Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com>
Date: Sun Mar 30 00:59:15 2008 +0100
reg: Add Norwegian Bokmål resource.
---
programs/reg/No.rc | 30 ++++++++++++++++++++++++++++++
programs/reg/rsrc.rc | 1 +
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/programs/reg/No.rc b/programs/reg/No.rc
new file mode 100644
index 0000000..5b9a33d
--- /dev/null
+++ b/programs/reg/No.rc
@@ -0,0 +1,30 @@
+/*
+ * REG.EXE - Wine-compatible reg program.
+ * Norwegian (Bokm�l) language support
+ *
+ * Copyright 2008 Alexander N. S�rnes <alex(a)thehandofagony.com>
+ *
+ * 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
+ */
+
+LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
+
+STRINGTABLE
+{
+ STRING_USAGE, "Programmer kj�res som f�lger:\n\nREG [ ADD | DELETE | QUERY ]\nREG kommando /?\n"
+ STRING_ADD_USAGE, "REG ADD n�kkelnavn [/v verdi | /ve] [/t type] [/s separator] [/d data] [/f]\n"
+ STRING_DELETE_USAGE, "REG DELETE n�kkelnavn [/v verdi | /ve | /va] [/f]\n"
+ STRING_QUERY_USAGE, "REG QUERY n�kkelnavn [/v verdi | /ve] [/s]\n"
+}
diff --git a/programs/reg/rsrc.rc b/programs/reg/rsrc.rc
index 3a721db..125b3e3 100644
--- a/programs/reg/rsrc.rc
+++ b/programs/reg/rsrc.rc
@@ -24,4 +24,5 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include "En.rc"
#include "Nl.rc"
+#include "No.rc"
#include "Pl.rc"
Module: wine
Branch: master
Commit: ae1791b0b8d181e0d01f8db1cae4eba48edefbac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae1791b0b8d181e0d01f8db1c…
Author: Andrew Talbot <andrew.talbot(a)talbotville.com>
Date: Sat Mar 29 16:11:20 2008 +0000
dbghelp: Fix type mismatch in comparison.
---
dlls/dbghelp/stabs.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/dlls/dbghelp/stabs.c b/dlls/dbghelp/stabs.c
index d597848..f9b5991 100644
--- a/dlls/dbghelp/stabs.c
+++ b/dlls/dbghelp/stabs.c
@@ -792,10 +792,11 @@ static inline int stabs_pts_read_array(struct ParseTypedefData* ptd,
static int stabs_pts_read_type_def(struct ParseTypedefData* ptd, const char* typename,
struct symt** ret_dt)
{
+ static struct symt null_dt = {SymTagNull};
int idx;
- long sz = -1;
- struct symt* new_dt = NULL; /* newly created data type */
- struct symt* ref_dt; /* referenced data type (pointer...) */
+ long sz = -1;
+ struct symt* new_dt = &null_dt; /* newly created data type */
+ struct symt* ref_dt; /* referenced data type (pointer...) */
long filenr1, subnr1, tmp;
/* things are a bit complicated because of the way the typedefs are stored inside
@@ -807,7 +808,7 @@ static int stabs_pts_read_type_def(struct ParseTypedefData* ptd, const char* typ
while (*ptd->ptr == '=')
{
ptd->ptr++;
- PTS_ABORTIF(ptd, new_dt != btNoType);
+ PTS_ABORTIF(ptd, new_dt->tag != SymTagNull);
/* first handle attribute if any */
switch (*ptd->ptr)