Commit Graph

103 Commits

Author SHA1 Message Date
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
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
Jeff Latimer 33af21fdcf cabinet: Fix a potential NULL reference. 2007-06-28 12:16:12 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Alexandre Julliard a14920e50f cabinet: Make sure we don't try to close an invalid file handle. 2007-04-26 14:25:42 +02:00
Gerald Pfeifer cd7aecd52a cabinet: Simplify code in fdi_decomp(). 2007-03-16 11:18:42 +01:00
Andrew Talbot 5c812a14f3 cabinet: Constify some variables. 2007-03-15 12:15:38 +01:00
Alexandre Julliard a71a22c579 cabinet: Fixed fd leak in case of error. 2007-02-14 13:12:32 +01:00
Andrew Talbot 267fcdd009 cabinet: Improve initialization of some arrays. 2007-01-26 12:56:12 +01:00
Michael Stefaniuc 33af3c5c83 janitorial: Use the C standard for multiline strings. 2007-01-10 12:28:19 +01:00
James Hawkins a79765ff02 cabinet: Close the opened file handle even in error cases. 2006-12-15 12:20:37 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Andrew Talbot 49e8797de2 cabinet: Cast-qual warnings fix. 2006-10-20 10:19:46 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
James Hawkins e981278769 cabinet: Make internal functions static. 2006-10-12 11:35:15 +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
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +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 fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Marcus Meissner 0c15360a3e Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes. 2006-09-11 11:30:48 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +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
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
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +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
Gerold J. Wucherpfennig 4f75f8469b cabinet: Set proper error information on failures. 2006-03-01 20:56:41 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
James Hawkins 877c8092cf cabinet: Move the remaining cabextract.c functions to fdi.c. 2006-01-12 13:30:43 +01:00
James Hawkins 213d8a0f2f cabinet: Remove no longer used code from cabextract.c. 2006-01-11 20:54:10 +01:00
James Hawkins 362aa36d09 cabinet: Add documentation for FDITruncateCabinet. 2006-01-11 12:12:54 +01:00
James Hawkins ca0246fbde cabinet: Add initial tests for Extract. 2006-01-10 12:14:47 +01: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 6213c452bb cabinet: Add the two flags used by Extract to cabinet.h. 2006-01-09 20:24:10 +01:00
James Hawkins e073fbdce9 cabinet: Define the flags member of the EXTRACTdest structure. 2006-01-09 20:23:34 +01:00
James Hawkins f9859a88d3 cabinet: Fix the second parameter name of Extract. 2006-01-09 20:23:26 +01:00
James Hawkins d57c20ac95 cabinet: Store the cab file handle before extracting files so we can
close the cab file even if no files are extracted.
2006-01-09 20:23:15 +01:00