Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config ... aaand make the emit-order slightly more s...
details: https://anonhg.NetBSD.org/src/rev/b91c9ca94c8e
branches: trunk
changeset: 751429:b91c9ca94c8e
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Feb 03 21:32:27 2010 +0000
description:
... aaand make the emit-order slightly more sensible for ioconf.c to
actually work again.
diffstat:
usr.bin/config/mkioconf.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (36 lines):
diff -r 83e1e3257a34 -r b91c9ca94c8e usr.bin/config/mkioconf.c
--- a/usr.bin/config/mkioconf.c Wed Feb 03 21:18:38 2010 +0000
+++ b/usr.bin/config/mkioconf.c Wed Feb 03 21:32:27 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkioconf.c,v 1.15 2010/02/03 21:00:49 pooka Exp $ */
+/* $NetBSD: mkioconf.c,v 1.16 2010/02/03 21:32:27 pooka Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -89,6 +89,13 @@
return (1);
}
+ emithdr(fp);
+ emitcfdrivers(fp);
+ emitexterns(fp);
+ emitloc(fp);
+ emitparents(fp);
+ emitcfdata(fp);
+
if (ioconfname == NULL) {
emitcfattachinit(fp);
emitroots(fp);
@@ -96,12 +103,6 @@
if (!do_devsw)
emitname2blk(fp);
}
- emithdr(fp);
- emitcfdrivers(fp);
- emitexterns(fp);
- emitloc(fp);
- emitparents(fp);
- emitcfdata(fp);
fflush(fp);
if (ferror(fp)) {
Home |
Main Index |
Thread Index |
Old Index