Commit Graph

24 Commits

Author SHA1 Message Date
Lauri Kenttä 1f7d144ff9 cabinet: Make Extract fail on read-only files.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 14:15:26 +01:00
Lauri Kenttä af86bdc31b cabinet: Make Extract overwrite existing files.
Only read-only files must not be overwritten.

Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-06 14:15:26 +01:00
Nikolay Sivov 947977f614 cabinet/tests: Compile with -D__WINESRC__. 2013-10-15 17:43:32 +02:00
Alexandre Julliard 9a39cb94e4 cabinet/tests: Make some variables static. 2010-10-01 13:38:58 +02:00
Alexandre Julliard 91502b0634 cabinet/tests: Fix accesses to an invalid pointer. 2010-01-29 13:29:21 +01:00
James Hawkins 300cc0fea1 cabinet: Fix several file list leaks in the extract tests. 2010-01-07 17:59:58 +01:00
Michael Stefaniuc 602f42c25f include: Change to LONG/ULONG in fci.h for Win64 compatibility. 2009-01-14 12:21:13 +01:00
Alexandre Julliard 235ae03597 cabinet/tests: Add CDECL to the cabinet callback functions. 2009-01-03 20:12:39 +01:00
Austin English f6caf1be81 Misc spelling fixes. 2008-01-18 12:51:08 +01:00
James Hawkins e533893da8 cabinet: Fix two tests that return E_FAIL on win98. 2007-10-26 14:03:46 +02:00
James Hawkins a72e182010 cabinet: Don't extract a file if DoExtract is FALSE. 2007-08-27 12:18:39 +02:00
James Hawkins 2918a272e3 cabinet: Return the value of GetLastError if FDICopy fails. 2007-08-24 11:26:48 +02:00
James Hawkins b1bd920818 cabinet: Append new file nodes to the front of the file list. 2007-08-24 11:22:38 +02:00
James Hawkins 80e149d62c cabinet: Pass the session Error to FDICopy. 2007-08-24 11:21:54 +02:00
James Hawkins 75e9ae7ece cabinet: Formalize the SESSION struct and add more tests of its members. 2007-08-22 12:19:00 +02:00
Paul Vriens 85867205e5 cabinet/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-08-14 20:29:21 +02:00
Paul Vriens 5bbc6323dc cabinet: Make tests run on Win98 again. 2006-10-06 12:53:25 +02:00
Michael Stefaniuc dec4332a1e cabinet/tests: Win64 printf format warning fixes. 2006-10-06 12:33:34 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Andrew Talbot 64db35a993 cabinet/tests: Write-strings warnings fix. 2006-08-15 11:42:36 +02:00
Mike McCormack c63b348a8a cabinet: Fix and test the undocumented Extract function.
The paths are MAX_PATH length.
The last field is list of files which is checked when flags = 0.
Add tests for the flag in the file list.
2006-08-07 13:13:31 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
James Hawkins ca0246fbde cabinet: Add initial tests for Extract. 2006-01-10 12:14:47 +01:00