Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
7e5a9a0b
Commit
7e5a9a0b
authored
Mar 14, 2001
by
Niels Möller
Browse files
Adapted to change in collect_info_3.
Rev: src/combinators.c:1.11 Rev: src/handshake.c:1.4
parent
5d914802
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/combinators.c
View file @
7e5a9a0b
...
...
@@ -227,7 +227,7 @@ struct command *make_command_Sp_3(struct command *c,
return
&
res
->
super
.
super
;
}
struct
lsh_object
*
collect_Sp_3
(
struct
collect_info_3
*
info
,
struct
lsh_object
*
collect_Sp_3
(
struct
collect_info_3
*
info
UNUSED
,
struct
lsh_object
*
c
,
struct
lsh_object
*
f
,
struct
lsh_object
*
g
)
...
...
@@ -235,8 +235,7 @@ struct lsh_object *collect_Sp_3(struct collect_info_3 *info,
CAST_SUBTYPE
(
command
,
cc
,
c
);
CAST_SUBTYPE
(
command
,
cf
,
f
);
CAST_SUBTYPE
(
command
,
cg
,
g
);
assert
(
!
info
->
next
);
return
&
make_command_Sp_3
(
cc
,
cf
,
cg
)
->
super
;
}
...
...
@@ -366,7 +365,7 @@ make_command_Bp_3(struct command *c,
return
&
res
->
super
.
super
;
}
struct
lsh_object
*
collect_Bp_3
(
struct
collect_info_3
*
info
,
struct
lsh_object
*
collect_Bp_3
(
struct
collect_info_3
*
info
UNUSED
,
struct
lsh_object
*
c
,
struct
lsh_object
*
f
,
struct
lsh_object
*
g
)
...
...
@@ -374,8 +373,7 @@ struct lsh_object *collect_Bp_3(struct collect_info_3 *info,
CAST_SUBTYPE
(
command
,
cc
,
c
);
CAST_SUBTYPE
(
command
,
cf
,
f
);
CAST_SUBTYPE
(
command
,
cg
,
g
);
assert
(
!
info
->
next
);
return
&
make_command_Bp_3
(
cc
,
cf
,
cg
)
->
super
;
}
...
...
@@ -538,15 +536,14 @@ make_command_Cp_3(struct command *c,
}
struct
lsh_object
*
collect_Cp_3
(
struct
collect_info_3
*
info
,
collect_Cp_3
(
struct
collect_info_3
*
info
UNUSED
,
struct
lsh_object
*
c
,
struct
lsh_object
*
f
,
struct
lsh_object
*
y
)
{
CAST_SUBTYPE
(
command
,
cc
,
c
);
CAST_SUBTYPE
(
command
,
cf
,
f
);
assert
(
!
info
->
next
);
return
&
make_command_Cp_3
(
cc
,
cf
,
y
)
->
super
;
}
...
...
src/handshake.c
View file @
7e5a9a0b
...
...
@@ -393,7 +393,7 @@ do_handshake(struct command *s,
}
static
struct
lsh_object
*
collect_handshake_3
(
struct
collect_info_3
*
info
,
collect_handshake_3
(
struct
collect_info_3
*
info
UNUSED
,
struct
lsh_object
*
h
,
struct
lsh_object
*
i
,
struct
lsh_object
*
extra
)
...
...
@@ -402,8 +402,9 @@ collect_handshake_3(struct collect_info_3 *info,
CAST_SUBTYPE
(
make_kexinit
,
init
,
i
);
NEW
(
handshake_command_2
,
self
);
#if 0
assert(!info->next);
#endif
self
->
super
.
call
=
do_handshake
;
self
->
info
=
hinfo
;
self
->
init
=
init
;
...
...
Write
Preview
Supports
Markdown
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