Skip to content

Commit 7df2a4d

Browse files
committed
Copy all DLLs.
1 parent 575d4cd commit 7df2a4d

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

cups/dnssd.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,6 +1505,8 @@ cupsDNSSDServiceAdd(
15051505
else
15061506
snprintf(fullname, sizeof(fullname), "%s.%s.%s", service->name, base, domain ? domain : "local");
15071507

1508+
DEBUG_printf("cupsDNSSDServiceAdd: Adding fullname=\"%s\"", fullname);
1509+
15081510
// Get the service...
15091511
if (service->num_srvs >= _CUPS_DNSSD_MAX)
15101512
{
@@ -1529,6 +1531,8 @@ cupsDNSSDServiceAdd(
15291531
for (j = 0, length = 0; j < num_txt; j ++)
15301532
length += strlen(txt[j].name) + strlen(txt[j].value) + 2;
15311533

1534+
DEBUG_printf("cupsDNSSDServiceAdd: TXT length=%lu", (unsigned long)length);
1535+
15321536
if (length > 0)
15331537
{
15341538
srv->txt = calloc(length, sizeof(WCHAR));
@@ -1557,6 +1561,8 @@ cupsDNSSDServiceAdd(
15571561
srv->req.pQueryContext = service;
15581562
srv->req.unicastEnabled = domain && strcmp(domain, "local") != 0;
15591563

1564+
DEBUG_printf("cupsDNSSDServiceAdd: unicastEnabled=%s", srv->req.unicastEnabled ? "true" : "false");
1565+
15601566
if ((status = DnsServiceRegister(&srv->req, &srv->cancel)) != DNS_REQUEST_PENDING)
15611567
{
15621568
report_error(service->dnssd, "Unable to register '%s': %d", fullname, status);

vcnet/runtests.bat

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@
66
::
77

88
:: Copy DLLs for dependent packages to the debug directory...
9-
copy packages\libressl_native.redist.4.0.0\build\native\bin\x64\Debug\*.dll %1
10-
copy packages\libressl_native.redist.4.0.0\build\native\bin\x64\Release\*.dll %1
11-
copy ..\pdfio\packages\libpng_native.redist.1.6.30\build\native\bin\x64\Debug\*.dll %1
12-
copy ..\pdfio\packages\libpng_native.redist.1.6.30\build\native\bin\x64\Release\*.dll %1
13-
copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Debug\*.dll %1
14-
copy packages\zlib_native.redist.1.2.11\build\native\bin\x64\Release\*.dll %1
9+
copy packages\*\build\native\bin\x64\Debug\*.dll %1
10+
copy packages\*\build\native\bin\x64\Release\*.dll %1
11+
copy ..\pdfio\packages\*\build\native\bin\x64\Debug\*.dll %1
12+
copy ..\pdfio\packages\*\build\native\bin\x64\Release\*.dll %1
1513

1614
;; Run tests from the build directory...
1715
cd %1
1816

17+
.\testdnssd.exe
1918
.\testfile.exe
2019
.\testhttp.exe
2120

0 commit comments

Comments
 (0)