projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68620a6
)
fix compilation on linux, TODO: accept wildcards
author
guido
<guido@svn.reactos.org>
Tue, 7 Oct 2003 22:00:32 +0000
(22:00 +0000)
committer
guido
<guido@svn.reactos.org>
Tue, 7 Oct 2003 22:00:32 +0000
(22:00 +0000)
svn path=/trunk/; revision=6266
reactos/tools/rcopy.c
patch
|
blob
|
history
diff --git
a/reactos/tools/rcopy.c
b/reactos/tools/rcopy.c
index
54ed89f
..
968ec3a
100644
(file)
--- a/
reactos/tools/rcopy.c
+++ b/
reactos/tools/rcopy.c
@@
-28,13
+28,13
@@
make_absolute(char *absolute, char *path)
#ifndef WIN32
if (path[0] == DIR_SEPARATOR_CHAR)
{
- strcpy(
buf
, path);
+ strcpy(
absolute
, path);
}
else
{
- getcwd(
buf, sizeof(buf
));
- strcat(
buf
, DIR_SEPARATOR_STRING);
- strcat(
buf
, path);
+ getcwd(
absolute, sizeof(absolute
));
+ strcat(
absolute
, DIR_SEPARATOR_STRING);
+ strcat(
absolute
, path);
}
#else
_fullpath(absolute, path, MAX_PATH);