pike.git/
src/
main.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-01-16
1997-01-16 05:03:21 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
496707ed4a4f900c07f4a8d31c6fc2c55b1c4882 (
14
lines) (+
7
/-
7
)
[
Show
|
Annotate
]
Branch:
7.9
support for --version added
Rev: src/main.c:1.15
4:
||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h"
-
RCSID("$Id: main.c,v 1.
14
1997/01/
14
18
:
16
:
23
nisse
Exp $");
+
RCSID("$Id: main.c,v 1.
15
1997/01/
16
05
:
03
:
21
hubbe
Exp $");
#include "types.h" #include "backend.h" #include "module.h"
168:
break; default:
-
fprintf
(
stderr,"Unknown flag '%c'\n",*
p);
-
exit(1);
+
p+=strlen
(p);
} } }else{
206:
free_callback(& post_master_callbacks); init_modules_programs();
-
a=allocate_array_no_init(argc
-e
,0);
-
for(num=0;
e
<argc;
e++
)
+
+
a=allocate_array_no_init(argc,0);
+
for(num=0;
num
<argc;
num++
)
{
-
ITEM(a)[num].u.string=make_shared_string(argv[
e
]);
+
ITEM(a)[num].u.string=make_shared_string(argv[
num
]);
ITEM(a)[num].type=T_STRING;
-
num++;
+
} push_array(a);