Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
51e21fa0
Commit
51e21fa0
authored
Aug 20, 2003
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Removed handling of c_local_text_no_p.
parent
d57aa76e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/server/call-switch.awk
+2
-4
2 additions, 4 deletions
src/server/call-switch.awk
src/server/prot-a-parse-arg-c.awk
+2
-29
2 additions, 29 deletions
src/server/prot-a-parse-arg-c.awk
with
4 additions
and
33 deletions
src/server/call-switch.awk
+
2
−
4
View file @
51e21fa0
#
#
# $Id: call-switch.awk,v 0.2
2
2003/08/
16 11:29:03
ceder Exp $
# $Id: call-switch.awk,v 0.2
3
2003/08/
20 17:40:38
ceder Exp $
# Copyright (C) 1991, 1993-1999, 2002 Lysator Academic Computer Association.
# Copyright (C) 1991, 1993-1999, 2002 Lysator Academic Computer Association.
#
#
# This file is part of the LysKOM server.
# This file is part of the LysKOM server.
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#
#
# Please report bugs at http://bugzilla.lysator.liu.se/.
# Please report bugs at http://bugzilla.lysator.liu.se/.
#
#
# $Id: call-switch.awk,v 0.2
2
2003/08/
16 11:29:03
ceder Exp $
# $Id: call-switch.awk,v 0.2
3
2003/08/
20 17:40:38
ceder Exp $
BEGIN
{
BEGIN
{
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
" from\n call-switch.awk and fncdef.txt */\n"
);
printf
(
" from\n call-switch.awk and fncdef.txt */\n"
);
...
@@ -67,8 +67,6 @@ $1 != "#" && $1 != "" {
...
@@ -67,8 +67,6 @@ $1 != "#" && $1 != "" {
printf
(
"client->conf_type"
);
printf
(
"client->conf_type"
);
else
if
(
$i
==
"membership_type"
)
else
if
(
$i
==
"membership_type"
)
printf
(
"&client->membership_type"
);
printf
(
"&client->membership_type"
);
else
if
(
$i
==
"c_local_text_no_p"
)
printf
(
"client->c_local_text_no_p"
);
else
if
(
$i
==
"aux_item_list"
)
else
if
(
$i
==
"aux_item_list"
)
printf
(
"&client->aux_item_list"
);
printf
(
"&client->aux_item_list"
);
else
if
(
$i
==
"misc_info_list"
)
else
if
(
$i
==
"misc_info_list"
)
...
...
This diff is collapsed.
Click to expand it.
src/server/prot-a-parse-arg-c.awk
+
2
−
29
View file @
51e21fa0
#
#
# $Id: prot-a-parse-arg-c.awk,v 0.
29
2003/08/
16 11:28:58
ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.
30
2003/08/
20 17:40:06
ceder Exp $
# Copyright (C) 1991-1994, 1996-1999, 2002 Lysator Academic Computer Association.
# Copyright (C) 1991-1994, 1996-1999, 2002 Lysator Academic Computer Association.
#
#
# This file is part of the LysKOM server.
# This file is part of the LysKOM server.
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#
#
# Please report bugs at http://bugzilla.lysator.liu.se/.
# Please report bugs at http://bugzilla.lysator.liu.se/.
#
#
# $Id: prot-a-parse-arg-c.awk,v 0.
29
2003/08/
16 11:28:58
ceder Exp $
# $Id: prot-a-parse-arg-c.awk,v 0.
30
2003/08/
20 17:40:06
ceder Exp $
BEGIN
{
BEGIN
{
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
"/* Don't edit this file - it is generated automatically"
);
printf
(
" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n"
);
printf
(
" from\n prot-a-parse-arg-c.awk and fncdef.txt */\n\n"
);
...
@@ -87,33 +87,6 @@ $1 != "#" && $1 != "" {
...
@@ -87,33 +87,6 @@ $1 != "#" && $1 != "" {
printf
(
"\tprot_a_parse_conf_type(client, &client->conf_type);\n"
);
printf
(
"\tprot_a_parse_conf_type(client, &client->conf_type);\n"
);
else
if
(
$i
==
"membership_type"
)
else
if
(
$i
==
"membership_type"
)
printf
(
"\tprot_a_parse_membership_type(client, &client->membership_type);\n"
);
printf
(
"\tprot_a_parse_membership_type(client, &client->membership_type);\n"
);
else
if
(
$i
==
"c_local_text_no_p"
)
{
printf
(
"\tif ( parse_nonwhite_char(client) != '{' )\n"
);
printf
(
"\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n"
);
printf
(
"\tif ( client->num%d > %s )\n"
,
\
num
-
1
,
$
(
++
i
));
printf
(
"\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n"
);
printf
(
"\n"
);
printf
(
"\tclient->c_local_text_no_p = "
);
printf
(
"smalloc(client->num%d\n"
,
num
-
1
);
printf
(
"\t\t\t\t\t * sizeof(Local_text_no));\n\n"
);
printf
(
"\tclient->array_parse_index = 0;\n"
);
printf
(
"\tclient->fnc_parse_pos = %d;\n"
,
++
pos
);
printf
(
" case %d:\n"
,
pos
);
printf
(
"\twhile( client->array_parse_index < "
);
printf
(
"client->num%d )\n"
,
num
-
1
);
printf
(
"\t{\n"
);
printf
(
"\t client->c_local_text_no_p[ client->"
);
printf
(
"array_parse_index ]\n"
);
printf
(
"\t\t= prot_a_parse_long(client);\n"
);
printf
(
"\t ++client->array_parse_index;\n"
);
printf
(
"\t}\n"
);
printf
(
"\tclient->fnc_parse_pos = %d;\n"
,
++
pos
);
printf
(
" case %d:\n"
,
pos
);
printf
(
"\tif ( parse_nonwhite_char(client) != '}' )\n"
);
printf
(
"\t longjmp(parse_env, KOM_PROTOCOL_ERR);\n"
);
}
else
if
(
$i
==
"c_misc_info_p"
)
else
if
(
$i
==
"c_misc_info_p"
)
{
{
printf
(
"\tif ( parse_nonwhite_char(client) != '{' )\n"
);
printf
(
"\tif ( parse_nonwhite_char(client) != '{' )\n"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment