This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] rebase


On Mon, Feb 10, 2003 at 08:16:25AM -0500, Jason Tishler wrote:
> On Sun, Feb 09, 2003 at 12:41:43AM -0000, Max Bowsher wrote:
> > > On Sat, Feb 08, 2003 at 04:47:51PM -0000, Max Bowsher wrote:
> > >> got a segfault whilst processing:
> > >> /usr/lib/perl5/5.6.1/cygwin-multi/auto/SDBM_File/SDBM_File.dll
> > >> from Cygwin perl-5.6.1-2.

The above has been fixed.

> > Jason Tishler wrote:
> > > I get the following:
> > >
> > >     $ rebase -v -b 0x68000000 SDBM_File.dll
> > >     ReBaseImage (SDBM_File.dll) failed with last error = 6
> > 
> > I played around a bit - turns out that if the dll is readonly, the
> > error you give above occurs. If the dll is writeable, rebase
> > segfaults.

See below...

> The above has raised two issues:

Since I didn't receive any feedback on these issues, I made the
following policy decisions.

> 1. How should rebase deal with the above.  Should it temporarily chmod
> to writable, rebase, and reset to the original permissions?  Or,
> should it just fail on read-only files?

I have change rebased to skip unwritable files.

> 2. Should rebase quit on the first failure or just skip problematic
> files?  Note that my original version was greedy.  I changed it to
> stop on the first failure when I switched to using Ralf's imagehelper
> library.  There are pros and cons to both policies.  I'm not sure
> which one is best.

I have changed rebase to be greedy again.  Implying that it will skip
nonexistent files too.

The latest rebase can be found at:

    http://www.tishler.net/jason/software/rebase/rebase-2.2-1.tar.bz2
    http://www.tishler.net/jason/software/rebase/rebase-2.2-1-src.tar.bz2

Can I upload and release rebase?  Or, are there any more issues that
need to be addressed before the initial release?

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]