Re: rsyncrypto crashing
Brought to you by:
thesun
From: Frederico R. A. <dev...@gm...> - 2014-03-29 14:18:59
|
I'm sure.. I even put a print together with changed lines, it appears normally. Here is 'diff' between the original source and the patched file in my directory: [bacon:/local2/users/fabraham/pessoal/backup/rsyncryptodebug/rsyncrypto-1.12] diff autommap.h ../rsyncrypto-1.12.patched/autommap.h 33c33 < autommap() : ptr(reinterpret_cast<void *>(-1)), size(0) --- > autommap() : ptr(reinterpret_cast<void *>(-1l)), size(0) 39c39 < if( ptr==reinterpret_cast<void *>(-1) ) { --- > if( ptr==reinterpret_cast<void *>(-1l) ) { 47c47 < autommap(file_t fd, int prot) : ptr(reinterpret_cast<void *>(-1)), size(0) --- > autommap(file_t fd, int prot) : ptr(reinterpret_cast<void *>(-1l)), size(0) 79c79 < that.ptr=reinterpret_cast<void *>(-1); --- > that.ptr=reinterpret_cast<void *>(-1l); 86c86 < if( ptr!=reinterpret_cast<void *>(-1) ) { --- > if( ptr!=reinterpret_cast<void *>(-1l) ) { 89c89 < ptr=reinterpret_cast<void *>(-1); --- > ptr=reinterpret_cast<void *>(-1l); On Fri, Mar 28, 2014 at 9:46 AM, Shachar Shemesh <sh...@sh...>wrote: > On 22/03/14 14:12, Frederico Rodrigues Abraham wrote: > > I patched the source, didn't seem to make a difference: > > I'm not sure how to continue from here. The source says there is no way > for that value to reach that point in the code. I'll try to come up with a > version with debug logs and see if that helps. > > In the mean while, are you sure you ran the version compiled with the > patch? > > Thanks, > Shachar > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Rsyncrypto-devel mailing list > Rsy...@li... > https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel > > -- -- Fred |