bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fix for CVS feature OpenBSD sparc64 bus error


From: Mark D. Baushke
Subject: Re: fix for CVS feature OpenBSD sparc64 bus error
Date: Thu, 07 Oct 2004 16:15:08 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alex,

Alexander Taler <address@hidden> writes:

> 
> Hi, I've been plagued by a bus error running the CVS feature
> branch on OpenBSD sparc64 for a while now.  It was particularly
> difficult because a lot of the time it would mess up my debugger,
> which gave dwarf errors, or dumped me in the wrong place on break
> points, etc.  Anyway, I finally tracked it down and fixed it.
> It's a type error, (which was even generating a warning) and I'm
> guessing it was causing stack corruption.
> 
> Alex
> 
> Index: src/vers_ts.c
> ===================================================================
> RCS file: /cvs/ccvs/src/vers_ts.c,v
> retrieving revision 1.58
> diff -u -r1.58 vers_ts.c
> --- src/vers_ts.c     4 Sep 2004 23:25:12 -0000       1.58
> +++ src/vers_ts.c     7 Oct 2004 22:31:36 -0000
> @@ -355,7 +355,7 @@
>  {
>      struct tm *tm_p;
>      char *cp;
> -    int length;
> +    size_t length;
>  
>      /* We want to use the same timestamp format as is stored in the
>         st_mtime.  For unix (and NT I think) this *must* be universal

Thanks for the report. I have committed your patch.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBZc383x41pRYZE/gRAgkwAJ4hE2CmpS5w5xMAa844+ns7tW/jBgCdGCGo
WVZiR1iC/tk5ExsFikg0p8M=
=bmY7
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]