Date: Thu, 12 Jun 2008 17:34:35 GMT From: Julian Elischer <julian@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143381 for review Message-ID: <200806121734.m5CHYZi5084914@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143381 Change 143381 by julian@julian_trafmon1 on 2008/06/12 17:34:29 Diff reduction Affected files ... .. //depot/projects/vimage-commit2/src/sys/amd64/amd64/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/amd64/amd64/minidump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/arm/arm/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/i386/i386/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/i386/i386/minidump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/ia64/ia64/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/mips/mips/dump_machdep.c#3 integrate .. //depot/projects/vimage-commit2/src/sys/sparc64/sparc64/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/sun4v/sun4v/dump_machdep.c#4 integrate .. //depot/projects/vimage-commit2/src/sys/sys/vimage.h#2 integrate Differences ... ==== //depot/projects/vimage-commit2/src/sys/amd64/amd64/dump_machdep.c#4 (text+ko) ==== @@ -119,7 +119,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname)); /*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/amd64/amd64/minidump_machdep.c#4 (text) ==== @@ -95,7 +95,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/arm/arm/dump_machdep.c#4 (text+ko) ==== @@ -117,7 +117,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/i386/i386/dump_machdep.c#4 (text+ko) ==== @@ -119,7 +119,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/i386/i386/minidump_machdep.c#4 (text) ==== @@ -93,7 +93,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/ia64/ia64/dump_machdep.c#4 (text+ko) ==== @@ -74,7 +74,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0 */ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/mips/mips/dump_machdep.c#3 (text+ko) ==== ==== //depot/projects/vimage-commit2/src/sys/sparc64/sparc64/dump_machdep.c#4 (text+ko) ==== @@ -70,7 +70,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/sun4v/sun4v/dump_machdep.c#4 (text+ko) ==== @@ -71,7 +71,7 @@ kdh->dumplength = htod64(dumplen); kdh->dumptime = htod64(time_second); kdh->blocksize = htod32(blksz); - strncpy(kdh->hostname, hostname, sizeof(kdh->hostname));/*XXX vimage0*/ + strncpy(kdh->hostname, G_hostname, sizeof(kdh->hostname)); strncpy(kdh->versionstring, version, sizeof(kdh->versionstring)); if (panicstr != NULL) strncpy(kdh->panicstring, panicstr, sizeof(kdh->panicstring)); ==== //depot/projects/vimage-commit2/src/sys/sys/vimage.h#2 (text+ko) ==== @@ -1,4 +1,5 @@ #define V_hostname hostname +#define G_hostname hostname #define V_domainname domainname #define V_acc_statcalls acc_statcalls #define V_acq_seq acq_seq
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806121734.m5CHYZi5084914>