Click Here
home features news forums classifieds faqs links search
5782 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
Home
Features
News
Forums
Classifieds
Links
Downloads
Extras
OS4 Zone
IRC Network
AmigaWorld Radio
Newsfeed
Top Members
Amiga Dealers
Information
About Us
FAQs
Advertise
Polls
Terms of Service
Search

IRC Channel
Server: irc.amigaworld.net
Channel: #Amigaworld
Channel Policy and Guidelines

(Uses JAVA Applet and Port 1024)
Visit the Chatroom Website

Who's Online
 71 guest(s) on-line.
 4 member(s) on-line.


broadblues, zipper, hth313, more...

You are an anonymous user.
Register Now!
 zipper:  52 secs ago
 broadblues:  2 mins ago
 matthey:  2 mins ago
 hth313:  3 mins ago
 SimplePPC:  5 mins ago
 WOSPUPOS4:  10 mins ago
 Jasper:  14 mins ago
 adrianebrown:  15 mins ago
 Trixie:  18 mins ago
 OneTimer1:  20 mins ago

Software News   Software News : LhA 2.14 - Year 2011 bugfix
   posted by MickJT on 3-Jan-2011 8:55:54 (12007 reads)
Sven Ottemann has released a new OS4 native version of LhA, v2.14.

This version contains an important bugfix relating to datestamps for files created in the year 2011 or later. It is recommended for everyone creating LhA archives to immediately update to this version.



History:

2.14 Sven Ottemann

Fix: Y2K11 bug

changed the default I/O Buffersize to 128k
changed the max I/O Buffersize to 512k
changed the default Headerlevel to 1
    

Related Links
· More about Software News
· News by MickJT


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
New version of V.A.M.P. multimedia player v2.00
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
Phantom 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 13:05:16
#1 ]
Elite Member
Joined: 2-Aug-2007
Posts: 2047
From: Unknown

Already done. Thanks Sven and happy new year.

 Status: Offline
Profile     Report this post  
broadblues 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:32:10
#2 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4251
From: Portsmouth England

Colour me slightly confused but just which version of lha is it that's on os4depot?

I just downloaded and unpacked the archive:

Old version:


9.AmigaOS4:> C:lha
LhA Freeware Version 2.12 AOS4
Copyright (c) 1991-94 by Stefan Boberg.
Copyright (c) 1998,1999 by Jim Cooper and David Tritscher.
Copyright (c) 2004-2006 by Sven Ottemann.

Usage: LhA [-] [[homedir]
...] [@file] [destdir]

Where is one of:

a Add files c Concatenate/Append archives
d Delete files e Extract files
f Freshen files h Hunt for diffs arc filesys
l[q] List archive (terse) m Move files to archive
p Print files to stdout r Replace files
t Test archive integrity u Update archive
v[q] List archive (verbose) vv Show archive contents (full)
x Extract files with full path y Copy archive with new options



New version:


9.AmigaOS4:> ram:lha-114i/src/lha
LHarc for UNIX V 1.02 Copyright(C) 1989 Y.Tagawa
LHx for MSDOS V C2.01 Copyright(C) 1990 H.Yoshizaki
LHx(arc) for OSK V 2.01 Modified 1990 Momozou
LHa for UNIX V 1.00 Copyright(C) 1992 Masaru Oki
LHa for UNIX V 1.14 Modified 1995 Nobutaka Watazaki
LHa for UNIX V 1.14i Modified 2000 Tsugio Okamoto
usage: lha [-]{axelvudmcp[q[num]][vnfodizg012]}[w=] archive_file [file...]
commands: options:
a Add(or replace) to archive q{num} quiet (num:quiet mode)
x,e EXtract from archive v verbose
l,v List / Verbose List n not execute
u Update newer files to archive f force (over write at extract)
d Delete from archive t FILES are TEXT file
m Move to archive (means 'ad') o[567] compression method (a/u)
c re-Construct new archive w= specify extract directory (a/u/m/x/e)
p Print to STDOUT from archive d delete FILES after (a/u/c)
t Test file CRC in archive i ignore directory path (x/e)
z files not compress (a/u)
g Generic format (for compatibility)
or not convert case when extracting
0/1/2 header level (a/u)
e TEXT code convert from/to EUC

 Status: Online!
Profile     Report this post  
broadblues 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:34:01
#3 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4251
From: Portsmouth England

Also the date stamp of the lha execuatable itslef id 2004, alarms bells ringing here.....

 Status: Online!
Profile     Report this post  
MickJT 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:35:50
#4 ]
Cult Member
Joined: 13-Jan-2005
Posts: 523
From: Adelaide, South Australia

1.14i is a completely different branch for Unix. You'll note the upload date is years ago.

Just go to to OS4Depot.net and it's right there in recent list of files. It is 2.14 but the description is wrong and still says 2.12.


LhA Freeware Version 2.14 AOS4
Copyright (c) 1991-94 by Stefan Boberg.
Copyright (c) 1998,1999 by Jim Cooper and David Tritscher.
Copyright (c) 2004-2011 by Sven Ottemann.

Edit: Fixed a typo. Only 7+ years late!

Last edited by MickJT on 23-Sep-2018 at 06:22 PM.
Last edited by MickJT on 03-Jan-2011 at 02:38 PM.

 Status: Offline
Profile     Report this post  
pavlor 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:41:24
#5 ]
Elite Member
Joined: 10-Jul-2005
Posts: 8811
From: Unknown

Downloading (when avaiable for OS3...).

Last edited by pavlor on 03-Jan-2011 at 02:50 PM.
Last edited by pavlor on 03-Jan-2011 at 02:44 PM.

 Status: Offline
Profile     Report this post  
Deniil715 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:42:23
#6 ]
Elite Member
Joined: 14-May-2003
Posts: 4160
From: Sweden

@MickJT

But the 2.14 archive contains the 1.14i version from 2004!

I also noticed this old Lha version. It also didn't work with my DirOpus config, like if it uses completely different command line options.

Last edited by Deniil715 on 03-Jan-2011 at 02:43 PM.

 Status: Offline
Profile     Report this post  
broadblues 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:43:24
#7 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4251
From: Portsmouth England

That's really odd I followed the link from the recent uploads but somehow ended up with the wrong file! (There a related link at the bottom of the page, I must have clicked that without payiong enough attention!) Thankfully I was sufficiently paranoid before installing!

Trying again now.....

 Status: Online!
Profile     Report this post  
broadblues 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 14:48:09
#8 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4251
From: Portsmouth England

@Deniil715

Look like you did the same as me, and clicked the wrong link! Try again make sure you download lha.lha not lha.rar.gz!

 Status: Online!
Profile     Report this post  
MickJT 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 15:18:24
#9 ]
Cult Member
Joined: 13-Jan-2005
Posts: 523
From: Adelaide, South Australia

There's a new bug, just as bad as the timestamp bug. Spaces are converted to underscore.

D'oh! We need another emergency fix.

Edit: Not a bug in LhA, but in xadmaster.library. Check below posts. It's to do with the header level.

Last edited by MickJT on 03-Jan-2011 at 06:17 PM.
Last edited by MickJT on 03-Jan-2011 at 06:10 PM.

 Status: Offline
Profile     Report this post  
marko 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 15:37:53
#10 ]
Super Member
Joined: 17-Dec-2007
Posts: 1791
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

Thanks! Works fine here, with spaces too what I can see, except that the description is wrong on OS4depot...

 Status: Offline
Profile     Report this post  
MickJT 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 15:40:27
#11 ]
Cult Member
Joined: 13-Jan-2005
Posts: 523
From: Adelaide, South Australia

The underscores are present when it's extracted again. Issue not in 2.12.

lha a test.lha "file with spaces.txt"

It extracts the file as file_with_spaces.txt

Edit: Fault is in xadmaster.library. Read rest of thread.

Last edited by MickJT on 03-Jan-2011 at 06:19 PM.
Last edited by MickJT on 03-Jan-2011 at 06:16 PM.
Last edited by MickJT on 03-Jan-2011 at 06:09 PM.
Last edited by MickJT on 03-Jan-2011 at 03:42 PM.
Last edited by MickJT on 03-Jan-2011 at 03:41 PM.

 Status: Offline
Profile     Report this post  
marko 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 15:53:30
#12 ]
Super Member
Joined: 17-Dec-2007
Posts: 1791
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@MickJT

Well, I didn't notice anything wrong (after extraction too) with this archive but then I only checked this archive...

Last edited by marko on 03-Jan-2011 at 03:55 PM.

 Status: Offline
Profile     Report this post  
MickJT 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 16:02:35
#13 ]
Cult Member
Joined: 13-Jan-2005
Posts: 523
From: Adelaide, South Australia

@marko

I don't know what you mean. That archive has underscores in it and no spaces.

Edit: OK, the LhA tool itself extracts it with spaces (so does WinRAR), but it's xadmaster putting the underscores in.

Last edited by MickJT on 03-Jan-2011 at 06:16 PM.
Last edited by MickJT on 03-Jan-2011 at 06:07 PM.
Last edited by MickJT on 03-Jan-2011 at 04:13 PM.
Last edited by MickJT on 03-Jan-2011 at 04:12 PM.
Last edited by MickJT on 03-Jan-2011 at 04:06 PM.

 Status: Offline
Profile     Report this post  
marko 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 16:09:53
#14 ]
Super Member
Joined: 17-Dec-2007
Posts: 1791
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@MickJT

As I said, I have extracted the archive. The "NetSurf icons.readme" is still the same... but I did this under Windows, haven't checked OS4 yet...

Last edited by marko on 03-Jan-2011 at 04:11 PM.

 Status: Offline
Profile     Report this post  
MickJT 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 16:14:19
#15 ]
Cult Member
Joined: 13-Jan-2005
Posts: 523
From: Adelaide, South Australia

Read the edit. It's XAD related. Still a bug in my opinion though, but is it XAD or LhA? Hmm.. In any case, you'd want archives made with lha to work with the supplied "UnArc" tool in OS3/OS4 properly.

Edit: Seems to be just XAD. As Chris_Y says below, it's the header level.

Last edited by MickJT on 03-Jan-2011 at 06:50 PM.
Last edited by MickJT on 03-Jan-2011 at 06:15 PM.
Last edited by MickJT on 03-Jan-2011 at 06:08 PM.

 Status: Offline
Profile     Report this post  
marko 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 16:16:46
#16 ]
Super Member
Joined: 17-Dec-2007
Posts: 1791
From: Gothenburg, THE front side of Sweden ;), (via Finland), EU

@MickJT

Oh, using UnArc in OS4 the file becomes wrong as "NetSurf_icons.readme"!

You are right indeed, there is a bug :/

Last edited by marko on 03-Jan-2011 at 04:20 PM.
Last edited by marko on 03-Jan-2011 at 04:17 PM.

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 18:02:10
#17 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3123
From: Beds, UK

@MickJT

It's the header level. 2.14 defaults to header level 1 (older versions defaulted to header level 0).

Archive using:
lha -H0 a test.lha "my file with spaces"

and XAD works fine.

Using -H1 or -H2 you get underscores instead.

I assume if LhA and WinRAR both extract this correctly, that it is an intended feature of header level 1 & 2, and it is xadmaster.library that needs fixing.

 Status: Offline
Profile     Report this post  
whose 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 18:23:26
#18 ]
Cult Member
Joined: 21-Jun-2005
Posts: 892
From: Germany

Well, in fact it is the lha xadmaster client, which needs fixing. Did you inform Dirk Stoecker about this issue? Hes the maintainer of xadmaster and the lha client (IIRC).

And please, ppl, dont patch it. AFAIK, Dirk Stoecker is still active in Amiga development, so the client should be fixed in source code, if possible.

 Status: Offline
Profile     Report this post  
Deniil715 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 3-Jan-2011 18:57:27
#19 ]
Elite Member
Joined: 14-May-2003
Posts: 4160
From: Sweden

@all

If Lha suddenly behaves differently than it did before I'd say it's a bug, not a feature. I mean, was there ever a reason to change the default header level causing this behaviour in such a long-standing and wide-spread tool like Lha??

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: LhA 2.14 - Year 2011 bugfix
Posted on 4-Jan-2011 0:26:40
#20 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3123
From: Beds, UK

@all

OS4 fix for xadmaster bug: http://www.unsatisfactorysoftware.co.uk/ftp/amiga/xad_lha.lha

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright 2000 - 2017 Amigaworld.net.

Amigaworld.net was originally founded by David Doyle