Commit Graph

31 Commits

Author SHA1 Message Date
Eric Pouech 418c4ad7b5 attrib: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Alexandre Julliard 9be401e3cb attrib: Use the standard va_list instead of __ms_va_list.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:00:16 +02:00
Bernhard Übelacker 5ec1524326 attrib: Avoid crash when called without parameter.
If attrib is called without any parameter the variable originalname
is used uninitialized.

Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-08 20:49:05 +02:00
Jacek Caban 62c961afdf attrib: Use CP_ACP for non-console output encoding.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 13:18:07 +01:00
Michael Stefaniuc 283dfa0f27 attrib: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-06 11:55:00 +02:00
Alexandre Julliard 160654be63 attrib: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:31 +02:00
Alexandre Julliard ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard 45442d270c attrib: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Michael Stefaniuc 094f5b4270 attrib: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:34 +02:00
Alexandre Julliard 1722db40e5 attrib: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:20:40 +01:00
Hugh McMaster d4fb6257f5 attrib: Fix incorrect comment. 2015-03-31 00:04:44 +09:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Frédéric Delanoy 70205f583c attrib: Use BOOL type where appropriate. 2013-10-15 14:28:20 +02:00
Marcus Meissner 7c8c90abbb attrib: Fixed an allocation size (Coverity). 2013-09-30 11:37:56 +02:00
Jason Edmeades 458e573584 attrib: Remove redundant code. 2012-11-06 16:02:42 +01:00
Jason Edmeades f2699f9f60 attrib: Add attrib /d support. 2012-11-06 16:02:40 +01:00
Jason Edmeades e26c2a5691 attrib: Add support for attrib /s. 2012-11-06 16:02:40 +01:00
Jason Edmeades 8e575940ad attrib: Support relative paths as args. 2012-11-06 16:02:39 +01:00
Christian Costa 6520f19181 attrib: Dislay attribute flags in the right order. 2012-03-27 13:57:38 +02:00
Christian Costa 5d57fc998a attrib: Do not hardcode number of characters in flags array. 2012-03-27 13:57:35 +02:00
Christian Costa a4e2f1d42a attrib: Add 2 missing spaces between attribute flags and filename. 2012-03-27 13:56:37 +02:00
Christian Costa 1ed66392f2 attrib: Display filenames with absolute path as in native. 2012-03-27 13:56:27 +02:00
Christian Costa a575c6d93a attrib: Skip processing of . and .. entries. 2012-03-27 13:55:22 +02:00
Christian Costa 25b97e9983 attrib: Display unknown options. 2012-03-27 13:55:09 +02:00
Frédéric Delanoy 6b8884f03e attrib: Fix typo. 2012-03-26 12:41:25 +02:00
Christian Costa d59538f977 attrib: Make command accept several arguments. 2012-03-14 12:59:09 +01:00
Francois Gouget cf598bdd62 attrib: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:45 +01:00
Francois Gouget 6aacb090f6 attrib: Use FormatMessageW() for better internationalization support. 2011-10-21 12:19:15 +02:00
Francois Gouget f720ccdc28 attrib: Make ATTRIB_wprintf() static. 2011-09-08 20:08:07 +02:00
Christian Costa 7b41ffbf61 attrib: Move implementation from cmd.exe to the standalone command. 2011-09-06 13:25:50 +02:00
Christian Costa 3ae8d5888a attrib.exe: Add stubbed command. 2010-03-19 16:25:48 +01:00