Re: 4GL 7.32.FC3 on HP-UX
Posted in 2005
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Jonathan Leffler wrote: > Everett Mills wrote: <SNIP> > Basically, we would be looking for the information about the start of > the second file, based on the information you see when looking for the > start of the first file. Tar writes in complete 512 byte blocks, which > is helpful. And it uses no magic number - at least, not in the bytes at > offset zero (which is NOT helpful). Tar places the 'magic number' string "ustar" beginning at offset 113. Art S. Kagel
Art S. Kagel wrote: > Jonathan Leffler wrote: > >> Everett Mills wrote: > > <SNIP> > >> Basically, we would be looking for the information about the start of >> the second file, based on the information you see when looking for the >> start of the first file. Tar writes in complete 512 byte blocks, >> which is helpful. And it uses no magic number - at least, not in the >> bytes at offset zero (which is NOT helpful). > > > Tar places the 'magic number' string "ustar" beginning at offset 113. Oops, sorry the location of the first magic number is the 257th byte (octal 401) in the tar file. Art S. Kagel