kernel32: add error text for WSAECONNREFUSED (try 2)
Dan Kegel
dank at kegel.com
Fri Aug 27 10:27:32 CDT 2010
This time, copy the error message from ERROR_CONNECTION_REFUSED
for all 15 languages that have .mc files.
(Done with a bit of shell and perl:
for a in *.mc; do cp $a new; perl grab.pl < $a >> new/$a; done; mv new/* .
print "MessageId=10061\n";
print "SymbolicName=WSAECONNREFUSED\n";
foreach (<STDIN>) {
if (/MessageId=1225/) {
$match = 1;
} elsif ($match == 1) {
if (/Language/) {
print;
$match = 2;
}
} elsif ($match == 2) {
print;
print ".\n";
exit(0);
}
}
not that it saved much effort.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.patch
Type: application/octet-stream
Size: 5715 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100827/6291fb85/attachment-0001.obj>
More information about the wine-patches
mailing list