Hi,

I remember much celebration when OpenBSD went 64-bit.  I recently
had some disecting of filesystems work, happy birthday Kirk!

I noticed while looking through the headers of zlib that there is
a time32_t component of it.  Would this mean that on January 19th
2038 our .gz's will break?  What's the alternative?  bzip2?

Please answer directly to me I'm not on the list.

-pjp

Script started on Sun Jan 19 09:40:39 2025
superpod$ cd /usr/include
superpod$ grep -A10 "gzip header" zlib.h | head && grep typedef zconf.h | grep 
uLong
     gzip header information passed to and from zlib routines.  See RFC 1952
  for more details on the meanings of these fields.
*/
typedef struct gz_header_s {
    int     text;       /* true if compressed data believed to be text */
    uLong   time;       /* modification time */
    int     xflags;     /* extra flags (not used when writing a gzip file) */
    int     os;         /* operating system */
    Bytef   *extra;     /* pointer to extra field or Z_NULL if none */
    uInt    extra_len;  /* extra field length (valid if extra != Z_NULL) */
typedef unsigned long  uLong; /* 32 bits or more */
typedef uLong FAR uLongf;
superpod$ exit

Script done on Sun Jan 19 09:41:15 2025

#define FS_UFS1_MAGIC   0x011954        /* the fast filesystem magic number */
#define FS_UFS2_MAGIC   0x19540119      /* UFS fast filesystem magic number */

-- 

-
I remember when google, youtube, facebook, etc were open access

Reply via email to