Commit graph

113 commits

Author SHA1 Message Date
Akihiro Sagawa
373604f253 xcopy: Avoid using isdigit() for WCHARs.
Found with Coccinelle.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:29 +02:00
Hans Leidekker
90fd0285f0 xcopy: Ignore the /V option. 2015-01-07 23:48:25 +01:00
Alexandre Julliard
7711f494e3 xcopy: Avoid a potential out of bounds access. 2014-10-27 19:02:49 +09:00
Francois Gouget
8d51235dbe xcopy/tests: Fix the test in case stdin has been redirected. 2014-03-03 17:02:29 +01:00
Alexandre Julliard
3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Alexandre Julliard
99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard
86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard
4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Austin English
7892df6fac xcopy: Clarify a comment. 2013-12-03 12:40:37 +01:00
Francois Gouget
61358d04a4 xcopy: Add tests to show that the /D option only accepts dates in the m-d-y format. 2013-11-29 17:58:40 +01:00
Alexandre Julliard
5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy
9b6715226e xcopy: Use BOOL type where appropriate. 2013-10-15 14:28:20 +02:00
Marcus Meissner
a6550abee5 xcopy: Allocate more space for the W buffer (Coverity). 2013-09-30 11:38:08 +02:00
Marcus Meissner
ba7b56b225 xcopy: fclose filedescriptor on eof case (Coverity). 2013-07-19 11:51:07 +02:00
André Hentschel
69f2ac0d52 xcopy: Fix indentation of a break (coverity). 2012-11-08 15:37:52 +01:00
Jason Edmeades
4a13490237 xcopy: Fix resource leak (coverity). 2012-11-06 16:02:42 +01:00
Francois Gouget
35f0c00bde xcopy: Fix spelling and slightly reword the usage message. 2012-08-22 12:02:51 +02:00
Francois Gouget
ec5e3a3b50 xcopy: Use the CSTR_XXX macros instead of numeric literals. 2012-06-21 08:34:56 +02:00
Francois Gouget
02b12e1117 programs: Standardize references to the <Enter> key. 2012-01-25 11:53:06 +01:00
Alexandre Julliard
c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget
fc2467dd2b xcopy: Remove a duplicated space. 2012-01-23 16:06:56 +01:00
Alexandre Julliard
da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
André Hentschel
fd4afaf639 xcopy: Fix a typo. 2012-01-11 17:47:26 +01:00
Alexandre Julliard
6b59b05244 xcopy: Fix varargs handling for 64-bit. 2011-10-20 17:05:19 +02:00
Francois Gouget
0cdabdd648 xcopy: Use FormatMessage() for better internationalization support.
This makes it possible to reorder the format string placeholders in message translations.
2011-10-18 18:37:45 +02:00
Francois Gouget
8a7bc4c727 xcopy: Reorder the functions to avoid forward declarations. 2011-10-18 18:30:09 +02:00
Francois Gouget
ca3b1046ca xcopy: Add full stops at the end of sentences in the usage message. 2011-09-07 18:13:33 +02:00
Francois Gouget
c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Alexandre Julliard
f8be8ff65e xcopy: Convert translations to po files. 2011-01-04 20:27:34 +01:00
Luca Bennati
1c24b643ff xcopy: Fix Italian translation. 2010-11-23 14:16:21 +01:00
Martin Wilck
20feb4772c xcopy: Assume directory if destination ends with a backslash. 2010-11-05 11:28:06 +01:00
Francois Gouget
6159f516fc xcopy: Remove a space before a '\n' in the Korean translation. 2010-11-02 13:16:42 +01:00
Paul Vriens
046f96e056 xcopy: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-02 11:15:43 +01:00
Martin Wilck
766f6b0b4b xcopy: Fix command line parsing logic.
Experiments show xcopy under Windows does not use argc/argv logic for
treating double quotes and backslashes. The xcopy logic is simplified
because literal quotes are illegal in Windows file names, thus escaped
double quotes (\") need not be treated.  'XCOPY "c:\dir a" "c:\dir
b\"' works under Windows.
2010-10-27 11:59:24 +02:00
Martin Wilck
b62c0d23f7 xcopy: Move command line parsing code into separate function. 2010-10-27 11:59:05 +02:00
Amine Khaldi
ef88584afa xcopy: Fix translations. 2010-10-04 15:00:08 +02:00
Luca Bennati
0c6c63891f xcopy: Fix Italian translation. 2010-09-23 17:50:12 +02:00
Alexandre Julliard
bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Hwang YunSong
893e27a47d xcopy: Update Korean resource. 2010-08-30 15:39:37 +02:00
Francois Gouget
54fba17b0e programs: Remove spaces before '\n's in the Swedish translation. 2010-08-27 12:30:57 +02:00
Francois Gouget
046063ac5e xcopy: Remove spaces before '\n's in the Korean translation. 2010-08-27 12:30:49 +02:00
Davide Pizzetti
e4755abf61 xcopy: Italian translation update. 2010-08-20 13:21:29 +02:00
Anders Jonsson
4c3bd79ecf xcopy: Add Swedish translation. 2010-08-16 12:58:34 +02:00
Davide Pizzetti
fb4bb58880 xcopy: Italian translation update. 2010-07-22 10:23:46 +02:00
Alexandre Julliard
6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Gustavo Henrique Milaré
d58782fce1 xcopy: Update Portuguese (Brazilian) translation. 2010-07-01 10:10:24 +02:00
Igor Paliychuk
f8a16d3b30 xcopy: Ukrainian translation update. 2010-06-29 10:54:44 +02:00
Hwang YunSong
098e6e7f8a xcopy: Update Korean resource. 2010-06-28 16:58:38 +02:00
Francois Gouget
c59b791b85 programs: Remove spaces before '\n's in the resources. 2010-06-24 10:36:23 +02:00