Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
b977145e
Commit
b977145e
authored
Mar 26, 2002
by
Christopher Alfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now generates a $eid.warnings file that has all warnings.
parent
dec1f16d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
tbsetup/ns2ir/parse.tcl.in
tbsetup/ns2ir/parse.tcl.in
+9
-0
No files found.
tbsetup/ns2ir/parse.tcl.in
View file @
b977145e
...
...
@@ -67,9 +67,12 @@ proc perror {msg} {
###
proc
punsup
{
msg
}
{
var_import
::
GLOBALS
::
verbose
var_import
::
GLOBALS
::
WARN_FILE
if
{$
verbose
==
1
}
{
puts
stderr
"*** WARNING: Unsupported NS Statement!"
puts
stderr
" $msg"
puts
$
WARN_FILE
"*** WARNING: Unsupported NS Statement!"
puts
$
WARN_FILE
" $msg"
}
}
...
...
@@ -154,6 +157,9 @@ namespace eval GLOBALS {
#
These
are
going
to
be
default
values
within
the
NS
file
.
variable
default_ip_routing_type
"none"
#
This
is
the
file
handler
for
the
warnings
file
variable
WARN_FILE
[
open
"$eid.warnings"
w
]
}
#
Connect
to
the
DB
...
...
@@ -349,4 +355,7 @@ sql disconnect ${GLOBALS::DB}
if
{${
GLOBALS
::
ran
}
==
0
}
{
perror
"No 'Simulator run' statement found."
}
close
${
GLOBALS
::
WARN_FILE
}
exit
${
GLOBALS
::
errors
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment