bugecp - Bugs: bug #17081, ecp gives undisplayable char in...

 
 

bug #17081: ecp gives undisplayable char in output.

Submitter:  Eoin Mcloughlin <eoinmcl>
Submitted:  Tue 11 Jul 2006 05:53:09 PM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Jul 2006 07:24:17 PM UTC, comment #3: 

I still can't reproduce this. I am not getting the new file, and not the unprintable. It does screw up, though no doubt about that. the symlinked directory is created as an executable file, hm.

Andre Reffhaug <areffhaug>
Group administrator
Tue 11 Jul 2006 06:46:54 PM UTC, comment #2: 

ecp appears to be creating another file.
Make sure you are in the adir/foo directory.
I reproduced it like so:

19:42 eoinmcl@spoon/tmp/test/adir/foo%ls
fdvf  mkio  nested
19:42 eoinmcl@spoon/tmp/test/adir/foo%ln -s ../../bdir/bar bar                        
19:42 eoinmcl@spoon/tmp/test/adir/foo%ls
bar  fdvf  mkio  nested
19:42 eoinmcl@spoon/tmp/test/adir/foo%cd ../../
19:42 eoinmcl@spoon/tmp/test%/home/eoinmcl/ecp/src/ecp/ecp -s -R adir/ ../test
ecp: An error occured while reading file '../../bdir/bar�'
Is a directory
100.00%       0 /     0  B ==> /tmp/test/adir/foo/fdvf
100.00%       0 /     0  B ==> /tmp/test/adir/foo/mkio
ecp: failed opening '/tmp/test/adir/foo/bar' (Is a directory) ==> aborting
100.00%       0 /     0  B ==> /tmp/test/adir/fve
100.00%       0 /     0  B ==> /tmp/test/adir/fvejm
19:42 eoinmcl@spoon/tmp/test%ls adir/foo
bar  bar??  fdvf  mkio  nested

There seems to be a new zero sized file created in adir/foo

Eoin Mcloughlin <eoinmcl>
Group Member
Tue 11 Jul 2006 06:02:52 PM UTC, comment #1: 

I reproduced the directory tree, and I got the same type of error, but no undisplayable character. What could cause that?

100.00%       0 /     0  B ==> /tmp/copy/adir/foo/fdvd
100.00%       0 /     0  B ==> /tmp/copy/adir/foo/mkio
ecp: An error occured while reading file '../../bdir/bar'
Is a directory
100.00%       0 /     0  B ==> /tmp/copy/adir/fve
100.00%       0 /     0  B ==> /tmp/copy/adir/fvejm

Andre Reffhaug <areffhaug>
Group administrator
Tue 11 Jul 2006 05:53:09 PM UTC, original submission:  

Error message has an undisplayable character.
To reproduce, create the following directory structure.

18:44 eoinmcl@spoon/tmp/test%ls -lR
.:
total 8
drwxr-x---  3 eoinmcl eoinmcl 4096 2006-07-11 18:43 adir
drwxr-x---  3 eoinmcl eoinmcl 4096 2006-07-11 18:43 bdir

./adir:
total 4
drwxr-x---  2 eoinmcl eoinmcl 4096 2006-07-11 18:43 foo
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:43 fve
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:43 fvejm

./adir/foo:
total 0
-rw-r-----  1 eoinmcl eoinmcl  0 2006-07-11 18:43 fdvf
-rw-r-----  1 eoinmcl eoinmcl  0 2006-07-11 18:43 mkio
lrwxrwxrwx  1 eoinmcl eoinmcl 14 2006-07-11 18:42 nested -> ../../bdir/bar

./bdir:
total 4
drwxr-x---  2 eoinmcl eoinmcl 4096 2006-07-11 18:42 bar
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:43 hgj
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:43 hgjghfj
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:42 sd
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:42 sddsc
-rw-r-----  1 eoinmcl eoinmcl    0 2006-07-11 18:43 sddscsdcs

./bdir/bar:
total 0


Then run
ecp -s -R adir ../copy
Output of command reads:
ecp: An error occured while reading file '../../bdir/bar�'
Is a directory
100.00%       0 /     0  B ==> /tmp/copy/adir/foo/fdvf
100.00%       0 /     0  B ==> /tmp/copy/adir/foo/mkio
100.00%       0 /     0  B ==> /tmp/copy/adir/fve
100.00%       0 /     0  B ==> /tmp/copy/adir/fvejm



Eoin Mcloughlin <eoinmcl>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-07-11 eoinmcl StatusIn Progress None
2006-07-11 areffhaug StatusNone In Progress

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code