mainCompact Disc Input and Control Library - Support: sr #107175, Failed test 'testiso9660' on...

 
 

sr #107175: Failed test 'testiso9660' on Solaris for specific timezones

Submitter:  Dagobert Michelsen <dagobert>
Submitted:  Thu 17 Dec 2009 01:02:49 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  rocky
Open/Closed:  Closed Operating System:  Solaris
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 20 Dec 2009 05:19:40 AM UTC, comment #3: 

Thanks for the bug report and account on opencsw.

In git commit 1b031e0..fbc4075 I've disabled that test for OS's like Solaris that don't have a tm_gmtoff field in their tm structure.

Better though would beto improve iso9660_set_dtime() of lib/iso9660/iso9660.c so it can be passed in a timezone.

Rocky Bernstein <rocky>
Group administrator
Fri 18 Dec 2009 01:02:29 PM UTC, comment #2: 

If you want I can give you an upstream maintainer account on the OpenCSW buildfarm
equipped with Solaris 8/9/10/OSOL for both x86 and Sparc for verification and
enhancing compatibility with e. g. the Sun Studio compiler.

Best regards

  -- Dago

Dagobert Michelsen <dagobert>
Thu 17 Dec 2009 06:19:29 PM UTC, comment #1: 

Hmm... It works on linux:

$ TZ=MET ./testiso9660
++ WARN: string 'ABC!123' is getting truncated to 2 characters
$ uname -a
Linux verne 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux

It would be cool to figure out how to fix the code so it doesn't fail. Any thoughts on this?

Rocky Bernstein <rocky>
Group administrator
Thu 17 Dec 2009 01:02:49 PM UTC, original submission:  

Hi,

the test 'testiso9660' is failing under specific timezones on Solaris:

build8s% TZ=GMT ./testiso9660
++ WARN: string 'ABC!123' is getting truncated to 2 characters
build8s% TZ=MET ./testiso9660
++ WARN: string 'ABC!123' is getting truncated to 2 characters
hours aren't equal. get: 12, set 11
GMT time retrieved with iso9660_get_dtime() not same as that
set with iso9660_set_dtime().
build8s% TZ=MEST ./testiso9660
++ WARN: string 'ABC!123' is getting truncated to 2 characters


Dagobert Michelsen <dagobert>

 

(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

 

Carbon-Copy List
  • -email is unavailable- added by rocky (Posted a comment)
  • -email is unavailable- added by dagobert (Submitted the item)
  • -email is unavailable- added by dagobert (libcdio Bug Status)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-20 rocky Operating SystemNone Solaris
        StatusNone Done
        Open/ClosedOpen Closed
    2009-12-17 rocky Assigned toNone rocky
    2009-12-17 dagobert Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code