Android application to manipulate sd image from the site
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
The source code for tar from sash (stand alone shell) is small, worked 100% with RISC OS straight off, compared to the normal distribution of tar, it is a dream. |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaaa |
Ronald May (387) 407 posts |
Sorry , I mean the “,” is left on the filename, the contents were OK. |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
No I mean using squach on a file (actually I used squach/c) compresses it to squach/c,fca but when it decompress’s, the file name is now “squach/c,” |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
I have rebooted, but still no action on the type &fca file, I’m sure the system took off on one of these files the other day, |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
Ok, something fishy in the system by the looks, at some point the squash module /did/ start doing the expected thing, and no looking back, even the squached file I left to try after a reboot (that squash wouldn’t act upon) now expands. |
h0bby1 (2567) 480 posts |
aaaaa |
Ronald May (387) 407 posts |
I haven’t tried this latest update, but something may have come to light with the extension problem. OK, I’ve found the !Squash application, I probably moved it out to make Apps less cluttered. I think the &FF will be coming from the strcpy_s and the accompanning 256 stuff |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
I think it is the “%x” part of |
Rick Murray (539) 13850 posts |
Think of the unix philosophy. Tar archives files, bz2 compresses the result. There is no overlap. This is why a tar.bz2 file must be decompressed before being accessed. It’s a pain but that’s how it works. Nothing like a regular .zip where the individual files are compressed and can be accessed one by one at will. |
Ronald May (387) 407 posts |
Yes Rick, actually I might have got that wrong, it could be the gzip that can do directories on its own. I realise that tgz, txz and tbz are the normal use. (zipped tars) To make things worse, when compiling and trying some of unix’s pipe schemes, the resulting binary crashes RISC OS hopelessly trying to open wimptasks. Very hard to get anywhere with. |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
I have traced a problem back to the fread perhaps. results in ’laddr ="
|
h0bby1 (2567) 480 posts |
aaa |
Ronald May (387) 407 posts |
Thats better, now laddr = fff itoa seems to be working, strftype string is = fff |
h0bby1 (2567) 480 posts |
aaaa |
h0bby1 (2567) 480 posts |
aaaa |
Ronald May (387) 407 posts |
strncpy_s looks bad, laddr = fff Edit: to stop the misbehaving buffer length.
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15