NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/41255 CVS commit: src/usr.bin/systat
The following reply was made to PR misc/41255; it has been noted by GNATS.
From: Alan Barrett <apb%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/41255 CVS commit: src/usr.bin/systat
Date: Tue, 14 Jul 2009 21:08:31 +0000
Module Name: src
Committed By: apb
Date: Tue Jul 14 21:08:31 UTC 2009
Modified Files:
src/usr.bin/systat: main.c
Log Message:
Don't assume that two identical-looking string literals will have the
same address and will therefore be comparable with the == operator.
Instead, use a const variable.
Inspired by PR 41255 from Kurt Lidl.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/systat/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index