ID: |
7512
|
Fixed in: |
|
Issue Date: |
2020-10-16 15:32 AEST
|
Owner: | CVS Support
|
Last Modified: | 2020-11-12 22:09 AEST | Reporter: | Arthur Barrett
|
Current Est. | 0.0 hours
| % Complete: | 0.0
|
Status: | NEW /
|
Severity: | normal
|
Affected: | 2.8.01
|
Description: | chacl - could not read RCS file for path/tofile,ext,v
|
Actions:
|
2020-10-16 15:32 AEST by Arthur Barrett - When using chacl/rchacl against long paths on Windows Server 2016 (>260 but
<1024) I get :
chacl - could not read RCS file for path/tofile,ext,v
The actual 'path.ext' is 'mangled' or 'corrupt' at the end. I assume this is
because the filename buffer is 260 characters long and then we append ",v" to
it...
This does not happen with checkout or rlog.
The message comes from do_file_proc() in recurse.cpp so it's unclear to me why
rlog and checkout would work OK, but rchacl will not.
I've looked at rchacl.cpp and can't find the culprit in there, and fileattr.cpp
is really about the XML parser names, not RCS names (unless we are overflowing
a buffer somewhere else).
May need to create our own testset to check this. |
|
2020-11-10 20:07 AEST by Arthur Barrett - Created an attachment (id=3494)
patch to cvs suite 2010 for new 'create' verb
We need a new verb 'create' to create 'local' files and folders/directories
that can exceed the 260 character limit.
Ideally new verbs should be created in 2.8.02 and merged back to 2.8.01, so
that's what I've done. But at the end of the day this is about a 2.8.01 bug
fix.
Checking in main.cpp;
/cvs/cvsnt/src/main.c,v <-- main.cpp
new revision: 1.71.2.151.6.103; previous revision: 1.71.2.151.6.102
done
Checking in version.cpp;
/cvs/cvsnt/src/version.c,v <-- version.cpp
new revision: 1.18.2.11.6.17; previous revision: 1.18.2.11.6.16
done
Checking in cvs.h;
/cvs/cvsnt/src/cvs.h,v <-- cvs.h
new revision: 1.93.2.208.6.48; previous revision: 1.93.2.208.6.47
done
|
|
2020-11-10 20:11 AEST by Arthur Barrett - merge in new verb:
cvs up -B 7512 -j CVSNT_BRANCH_2_5_03_2382 main.cpp version.cpp cvs.h
RCS file: /cvs/cvsnt/src/main.c,v
retrieving revision 1.71.2.151.6.102
retrieving revision 1.71.2.151.6.103
Merging differences between 1.71.2.151.6.102 and 1.71.2.151.6.103 into main.cpp
RCS file: /cvs/cvsnt/src/version.c,v
retrieving revision 1.18.2.11.6.16
retrieving revision 1.18.2.11.6.17
Merging differences between 1.18.2.11.6.16 and 1.18.2.11.6.17 into version.cpp
RCS file: /cvs/cvsnt/src/cvs.h,v
retrieving revision 1.93.2.208.6.47
retrieving revision 1.93.2.208.6.48
Merging differences between 1.93.2.208.6.47 and 1.93.2.208.6.48 into cvs.h
|
|
2020-11-11 15:57 AEST by Arthur Barrett - Created an attachment (id=3495)
patch - create a 'test' file
Checking in version.cpp;
/cvs/cvsnt/src/version.c,v <-- version.cpp
new revision: 1.18.2.11.6.18; previous revision: 1.18.2.11.6.17
done
|
|
2020-11-12 22:09 AEST by Arthur Barrett - Created an attachment (id=3496)
patch - error if cannot create dir
Checking in version.cpp;
/cvs/cvsnt/src/version.c,v <-- version.cpp
new revision: 1.18.2.11.6.19; previous revision: 1.18.2.11.6.18
done
Checking in cvs.h;
/cvs/cvsnt/src/cvs.h,v <-- cvs.h
new revision: 1.93.2.208.6.49; previous revision: 1.93.2.208.6.48
done
Also issues an error if not compiled in Unicode! |
|