Commit Graph

55 Commits

Author SHA1 Message Date
Juan Lang dd75176d34 snmpapi: Relax tests to fix some failures.
The tests were overly restrictive.  The functions are supposed to
return values less than 0, 0, or greater than 0, whereas the tests
restricted the return values to -1, 0, or 1.  Using less than
0/greater than 0 comparisons rather than == -1 or == 1 should fix a
few failing tests, and match the API descriptions better.
2009-02-16 11:48:04 +01:00
Paul Vriens ad8efd9340 snmpapi/tests: Fix failures on NT4 and below. 2008-11-12 13:11:04 +01:00
Hans Leidekker b72d636062 snmpapi: Fix a memory leak in the test. 2008-07-21 12:21:14 +02:00
Alistair Leslie-Hughes 294573a594 snmpapi: Correct snmpapi tests under win98. 2008-06-04 12:31:45 +02:00
Juan Lang 3108e3605c snmpapi: Test and correct SnmpUtilOidNCmp when count is less than Oid length. 2008-05-19 20:20:11 +02:00
Juan Lang a96e118ddb snmpapi: Test and correct SnmpUtilOidNCmp when Oid lengths don't match. 2008-05-19 20:20:08 +02:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Hans Leidekker 42aa4e46b6 snmpapi: Make a test pass on Vista. 2007-11-12 11:40:55 +01:00
Andrew Talbot 9a177b6407 snmpapi: Constify a variable. 2007-11-07 12:06:41 +01:00
Hans Leidekker a5fba22a79 snmpapi: Fix memory allocation in SnmpUtilVarBindListCpy. 2007-10-29 12:03:02 +01:00
Paul Vriens 47c5c590f5 snmpapi/tests: Be more verbose on missing functions. 2007-08-10 16:19:07 +02:00
Paul Vriens 5aeb63eb45 snmpapi/tests: Run tests again on win98 and NT4. 2007-08-09 13:53:07 +02:00
Michael Stefaniuc 684d72f257 snmpapi: Fix printf format warnings. 2007-03-06 21:59:48 +01:00
Mike Schaadt 26390a47c7 snmpapi: Changed %llu to %x%08lx. 2007-03-06 12:10:24 +01:00
Hans Leidekker 4270d13b18 snmpapi: Add a missing memcpy. 2007-02-19 12:40:24 +01:00
Alexandre Julliard be570f4655 snmpapi: Fix printf format warnings in tests. 2007-01-26 13:07:05 +01:00
Francois Gouget 6f734ac7b9 snmpapi: Fix the winapi_check warnings. 2007-01-26 12:55:56 +01:00
Francois Gouget 9f02f9e1fd snmpapi: Add a missing '\n' trace. 2007-01-25 11:05:15 +01:00
Francois Gouget 618be0874a snmpapi: SnmpUtilDbgPrint() is a vararg and not an stdcall function. 2007-01-25 11:05:11 +01:00
Hans Leidekker 318a71fddb snmpapi: Add tests for SnmpUtilVarBind{, List}{Cpy, Free}. Make them pass. 2007-01-23 11:37:46 +01:00
Hans Leidekker 396f6c05d1 snmpapi: Add a bunch of tests. 2007-01-23 11:31:59 +01:00
Hans Leidekker d3e5129135 snmpapi: Implement SnmpUtil{DbgPrint, IdsToA, OidToA, PrintAsnAny, PrintOid}. 2007-01-23 11:27:35 +01:00
Hans Leidekker baaed37d6d snmpapi: Implement SnmpUtilOid{Append, Cmp, NCmp}. Fix SnmpUtilOid{Cpy, Free}. 2007-01-22 12:46:28 +01:00
Hans Leidekker bca85b3da3 snmpapi: Implement SnmpUtilOctets{Cmp,Cpy,Free,NCmp}. 2007-01-22 12:46:16 +01:00
Hans Leidekker 1928c7c4c0 snmpapi: Implement SnmpUtilAsnAny{Cpy,Free}. 2007-01-22 12:45:52 +01:00
Hans Leidekker 339989638d snmpapi: Implement SnmpUtilVarBindList{Cpy,Free}. 2007-01-16 11:19:41 +01:00
Hans Leidekker 661218267a snmpapi: Implement SnmpUtilVarBindCpy. 2007-01-15 13:48:06 +01:00
Hans Leidekker 92cbda0a7d snmpapi: Implement SnmpUtilMem{Alloc,Free,ReAlloc}. 2007-01-15 13:47:54 +01:00
Hans Leidekker 7d89e52ff0 snmpapi: Add some missing APIs to the spec file. 2007-01-15 13:47:40 +01:00
Hans Leidekker f1fc35de38 snmpapi: Implement SnmpUtilOidCpy, SnmpUtilOidFree and SnmpUtilVarBindFree. 2007-01-15 13:02:09 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard c39a5f0dba Added DLL_WINE_PREATTACH handling in a number of stub-only dlls. 2006-03-21 16:19:07 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Vincent Béron 7160af007c Uniformize DllMain TRACEing across dlls. 2005-08-15 10:48:51 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00