Date: Sun, 18 Mar 2001 13:30:11 -0800 (PST) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk blocks.c change.c chunk.c create_chunk.c disk.c disklabel.c libdisk.h rules.c write_disk.c Message-ID: <200103182130.f2ILUBD04644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 2001/03/18 13:30:11 PST Modified files: lib/libdisk blocks.c change.c chunk.c create_chunk.c disk.c disklabel.c libdisk.h rules.c write_disk.c Log: Libraries should _never_ call exit() themselves (or its alternate spelling `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh Revision Changes Path 1.8 +6 -7 src/lib/libdisk/blocks.c 1.17 +1 -2 src/lib/libdisk/change.c 1.24 +8 -9 src/lib/libdisk/chunk.c 1.55 +5 -6 src/lib/libdisk/create_chunk.c 1.67 +10 -11 src/lib/libdisk/disk.c 1.6 +1 -2 src/lib/libdisk/disklabel.c 1.37 +9 -1 src/lib/libdisk/libdisk.h 1.19 +1 -2 src/lib/libdisk/rules.c 1.37 +1 -2 src/lib/libdisk/write_disk.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103182130.f2ILUBD04644>