| Author |
Message |
|
| Guest |
Posted: Mon Apr 19, 2010 2:12 pm |
|
|
|
Guest
|
E.g. DOCS-CABLE-DEVICE-MIB:
docsDevEvReporting OBJECT-TYPE
SYNTAX BITS {
local(0),
traps(1),
syslog(2),
-- The following are extensions to the original set of
-- labels. The extensions start at an octet boundary.
-- So for bits 3 - 7, one MUST set them to zero on send
-- and one MUST ignore them on receipt.
localVolatile( ,
stdInterface(9)
}
results in
DOCS-CABLE-DEVICE-MIB.mib: 1192: Error: Expected kibble no 3 but got 8.
Trivial fix below (sorry, still no git).
--Per Hedeland
--- otp_src_R13B04/lib/snmp/src/compile/snmpc_lib.erl.orig 2009-11-20 09:48:28.000000000 +0100
+++ otp_src_R13B04/lib/snmp/src/compile/snmpc_lib.erl 2010-04-19 16:07:07.000000000 +0200
@@ -125,7 +125,8 @@
test_kibbles2([],_,_) ->
ok;
-test_kibbles2([{_KibbleName,BitNo}|Ks],BitNo,Line) ->
+test_kibbles2([{_KibbleName,BitNo}|Ks],ExpectBitNo,Line)
+ when BitNo >= ExpectBitNo ->
test_kibbles2(Ks,BitNo+1,Line);
test_kibbles2([{_KibbleName,BitNo}|_Ks],ExpectBitNo,Line) ->
print_error("Expected kibble no ~p but got ~p.",[ExpectBitNo,BitNo],Line).
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Apr 19, 2010 2:12 pm |
|
|
|
Guest
|
E.g. DOCS-CABLE-DEVICE-MIB:
docsDevEvReporting OBJECT-TYPE
SYNTAX BITS {
local(0),
traps(1),
syslog(2),
-- The following are extensions to the original set of
-- labels. The extensions start at an octet boundary.
-- So for bits 3 - 7, one MUST set them to zero on send
-- and one MUST ignore them on receipt.
localVolatile( ,
stdInterface(9)
}
results in
DOCS-CABLE-DEVICE-MIB.mib: 1192: Error: Expected kibble no 3 but got 8.
Trivial fix below (sorry, still no git).
--Per Hedeland
--- otp_src_R13B04/lib/snmp/src/compile/snmpc_lib.erl.orig 2009-11-20 09:48:28.000000000 +0100
+++ otp_src_R13B04/lib/snmp/src/compile/snmpc_lib.erl 2010-04-19 16:07:07.000000000 +0200
@@ -125,7 +125,8 @@
test_kibbles2([],_,_) ->
ok;
-test_kibbles2([{_KibbleName,BitNo}|Ks],BitNo,Line) ->
+test_kibbles2([{_KibbleName,BitNo}|Ks],ExpectBitNo,Line)
+ when BitNo >= ExpectBitNo ->
test_kibbles2(Ks,BitNo+1,Line);
test_kibbles2([{_KibbleName,BitNo}|_Ks],ExpectBitNo,Line) ->
print_error("Expected kibble no ~p but got ~p.",[ExpectBitNo,BitNo],Line).
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| wailian |
Posted: Tue Mar 20, 2012 3:00 am |
|
|
|
Guest
|
| One of them is the Ugg bailey button boot which has classic and uniquely designed buttons on its body to give that elegant and luxurious look. It has a fantastic look and this includes the Bailey Triplet Boot which has 3 buttons. These boots have a shaft (the upper part of the boot) which can be turned up or turned down depending upon your need. These buttons are both for style or decoration along with being functional or usable as well. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|