Source-Changes archive

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

CVS commit: src

Module Name:    src
Committed By:   tsutsui
Date:           Sat May  5 16:03:55 UTC 2012

Modified Files:
        src/sbin/fdisk: Makefile fdisk.c
        src/tools/fdisk: Makefile

Log Message:
Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.

To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sbin/fdisk/Makefile
cvs rdiff -u -r1.140 -r1.141 src/sbin/fdisk/fdisk.c
cvs rdiff -u -r1.4 -r1.5 src/tools/fdisk/Makefile

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