Commit Graph

36 Commits

Author SHA1 Message Date
Alexandre Julliard df2521bff2 cabinet: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
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
Andrey Gusev c622b461bb cabinet: Use debugstr_a() in TRACE() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 11:33:59 +09:00
André Hentschel a5a99047e4 cabinet: Reorder code to make sure str is freed (coverity). 2012-10-26 11:46:01 +02:00
Alexandre Julliard 130e38e047 cabinet: Preserve trailing slash on directory name in Extract(). 2011-02-21 19:36:32 +01:00
Michael Stefaniuc f516cab017 include: Change to LONG/ULONG in fdi.h for Win64 compatibility. 2009-01-14 12:21:20 +01:00
Alexandre Julliard 98f89d460d cabinet: Add CDECL to the cabinet callback functions. 2009-01-05 12:39:02 +01:00
Jacek Caban edda4637b4 cabinet: Make sure that parent directories exist when creating a new directory. 2008-12-29 15:29:28 +01:00
Hans Leidekker 42506c94f2 cabinet: Fix a memory leak. 2008-07-21 12:21:17 +02:00
Rico Schüller 2dd29b107e cabinet: Fix memory leak (found by Smatch). 2008-01-07 13:45:51 +01: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 832e30694d cabinet: Formalize the SESSION struct. 2007-08-23 12:41:53 +02:00
Alexandre Julliard 1bc72fb6da cabinet: Use the correct create disposition in fdi_open. 2007-08-22 12:19:00 +02:00
Alexandre Julliard d5ff728265 cabinet: Use the proper fcntl defines in the FDI_OPEN calls. 2007-08-22 12:19:00 +02:00
Andrew Talbot 5c812a14f3 cabinet: Constify some variables. 2007-03-15 12:15:38 +01:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +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
Mike McCormack 968a445725 cabinet: Split the cabinet path for FDICopy. 2006-08-07 13:13:12 +02:00
Andrew Talbot 0fca0e00aa cabinet: Write-strings warning fix. 2006-07-31 10:50:15 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
James Hawkins 54565b72fd cabinet: Implement Extract on top of FDI. 2006-01-10 12:13:07 +01:00
James Hawkins 18d6f6944b cabinet: Clean up the documentation for Extract. 2006-01-09 20:24:21 +01:00
James Hawkins f9859a88d3 cabinet: Fix the second parameter name of Extract. 2006-01-09 20:23:26 +01:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Thomas Weidenmueller 4dbcbae5d9 Removed local variables only used in TRACE statements. 2005-06-07 20:06:39 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Stefan Leichter 3f5fada764 Added the linked list with the name of files of the CAB archive. 2004-01-08 00:42:36 +00:00
Mike Hearn f902d2965f result2 seems to be optional, making it 0 allows IE to continue. 2004-01-02 20:13:35 +00:00
Stefan Leichter a0d658aeed Make use of/handle the first parameter of the function Extract. 2003-12-30 21:55:52 +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
Greg Turner 55b2bf1d89 - port cabextract to wine
- implement cabinet.dll.Extract, urlmon.dll.Extract
- add SP6a registry key to winedefault.reg
2002-12-19 21:16:56 +00:00