mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
42758b303b
- In PrepareCopyInfFile(), explicitly use AddSectionToCopyQueueCab() to retrieve the files from the CAB INF. Otherwise if one continued to use and rely on AddSectionToCopyQueue() to do this job instead, bad things could happen like, re-enumerating twice or more (and adding them to the file queue) the same files. This is because in the new code AddSectionToCopyQueue() can be called many times to deal with different SIF file sections. The old code then called AddSectionToCopyQueueCab() in turn, but on the same list... Now the steps performed are clear, and everything works as intended. - Simplify the code that computes the full source and destination paths for the files to be copied and directories to be created, using helper functions. - Compute the source file and target location from the TXTSETUP.SIF entries in a NT-compatible manner. |
||
---|---|---|
.. | ||
applications | ||
services | ||
setup | ||
shell | ||
system | ||
CMakeLists.txt |