mirror of
https://github.com/reactos/reactos.git
synced 2026-05-24 08:11:38 +08:00
- Only include the strictly necessary headers. - Get rid of the dependency on shell and user DLLs. - fgetws() gets the string buffer size in number of characters. - We can use the CRT functions for lengths of the arguments etc. - The cFileName member of the WIN32_FIND_DATAW structure does not contain the full PATH to the enumerated file, but only its name. In order to use _wfopen(), build a full file path out of the directory part of the file specification and the full file name. - Simplify a ConPrintf() call to make it "atomic". - Fix the "confusion" lLineCount vs. lLineNumber vocable in the code. - Do not emit an extra newline after having displayed the results for a given file. - Uppercase the switches for performing the comparisons. - Send the errors to the StdErr stream. - Remove trailing whitespace.