checksum plugin - 2 spaces in SFV files

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
ck86
Posts: 2
Joined: 17 Jul 2010, 02:41

checksum plugin - 2 spaces in SFV files

Post by ck86 »

i have a problem where since version 2.51 checksums created have a double space between the filename and checksum. this is causing problems for some scripts which i am using.
Last edited by Jan Patera on 19 Jul 2010, 09:06, edited 1 time in total.
Reason: Changed Subject from just "checksum plugin" for clear problem indication
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: checksum plugin - 2 spaces in SFV files

Post by Jan Rysavy »

Please update your scripts, there should be two spaces for compatibility with md5sum utility.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: checksum plugin - 2 spaces in SFV files

Post by Jan Patera »

ck86 wrote:i have a problem where since version 2.51 checksums created have a double space between the filename and checksum. this is causing problems for some scripts which i am using.
Can you update the scripts? You probably hit this change. Since 2.52, AS writes the MD5 files in the GNU syntax which has 1 space AND either another space or asterisk.
ck86
Posts: 2
Joined: 17 Jul 2010, 02:41

Re: checksum plugin - 2 spaces in SFV files

Post by ck86 »

i actually meant crc32 sums. the scripts were not written by myself and neither do they run on any of my machines. sorry about the confusion :)
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: checksum plugin - 2 spaces in SFV files

Post by Jan Patera »

ck86 wrote:i actually meant crc32 sums. the scripts were not written by myself and neither do they run on any of my machines. sorry about the confusion :)
Indeed, since version 2.52, AS always writes two spaces, regardless of the checksum type.
However, in case of the SFV files, 2 spaces are perfectly correct - see wikipedia.
Post Reply