reactos/base/applications/cmdutils/find
Hermès Bélusca-Maïto 7a133609e7
[FIND] Improvements / bug-fixes. (#1553)
- 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.
2019-05-14 20:37:46 +02:00
..
lang [FIND] Rewrite of the find utility. (#1553) 2019-05-14 20:37:38 +02:00
CMakeLists.txt [FIND] Improvements / bug-fixes. (#1553) 2019-05-14 20:37:46 +02:00
find.c [FIND] Improvements / bug-fixes. (#1553) 2019-05-14 20:37:46 +02:00
find.rc [FIND] Rewrite of the find utility. (#1553) 2019-05-14 20:37:38 +02:00
resource.h [FIND] Rewrite of the find utility. (#1553) 2019-05-14 20:37:38 +02:00