NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42410 (Bug in makefs gives unhandled exception on MIPS Magnum R4000)



The following reply was made to PR bin/42410; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost, 
tsutsui%NetBSD.org@localhost,
        hpoussin%reactos.org@localhost
Subject: Re: bin/42410 (Bug in makefs gives unhandled exception on MIPS Magnum
         R4000)
Date: Wed, 16 Dec 2009 03:22:21 +0900

 > cd9660.c:cd9660_compute_record_size() should round size variable.
 > -current was already fixed on changes for RISC OS metadata support
 > and netbsd-5 and netbsd-5-0 branches need a patch for this PR.
 
 The following patch (from rev 1.25) should fix this PR. 
 I'll send a pullup request later.
 
 ---
 Index: usr.sbin/makefs/cd9660.c
 ===================================================================
 RCS file: /cvsroot/src/usr.sbin/makefs/cd9660.c,v
 retrieving revision 1.22.2.1
 diff -u -r1.22.2.1 cd9660.c
 --- usr.sbin/makefs/cd9660.c   2 Feb 2009 03:32:34 -0000       1.22.2.1
 +++ usr.sbin/makefs/cd9660.c   15 Dec 2009 18:17:18 -0000
 @@ -1759,6 +1759,7 @@
  
        if (diskStructure.rock_ridge_enabled)
                size += node->susp_entry_size;
 +      size += size & 1;
        return size;
  }
  
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index