Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
pikelang
pike
Commits
a29b1034
Commit
a29b1034
authored
Jan 17, 2001
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Fixed OPT_-flags for a few functions.
Rev: src/modules/system/system.c:1.99
parent
76f47722
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/modules/system/system.c
+13
-9
13 additions, 9 deletions
src/modules/system/system.c
with
13 additions
and
9 deletions
src/modules/system/system.c
+
13
−
9
View file @
a29b1034
/*
/*
* $Id: system.c,v 1.9
8
200
0/12/06 14:50:06 mirar
Exp $
* $Id: system.c,v 1.9
9
200
1/01/17 13:44:37 grubba
Exp $
*
*
* System-call module for Pike
* System-call module for Pike
*
*
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
#include
"system_machine.h"
#include
"system_machine.h"
#include
"system.h"
#include
"system.h"
RCSID
(
"$Id: system.c,v 1.9
8
200
0/12/06 14:50:06 mirar
Exp $"
);
RCSID
(
"$Id: system.c,v 1.9
9
200
1/01/17 13:44:37 grubba
Exp $"
);
#ifdef HAVE_WINSOCK_H
#ifdef HAVE_WINSOCK_H
#include
<winsock.h>
#include
<winsock.h>
#endif
#endif
...
@@ -1954,8 +1954,10 @@ void pike_module_init(void)
...
@@ -1954,8 +1954,10 @@ void pike_module_init(void)
#endif
/* HAVE_GETPGRP */
#endif
/* HAVE_GETPGRP */
#ifdef HAVE_SETPGRP
#ifdef HAVE_SETPGRP
ADD_EFUN
(
"setpgrp"
,
f_setpgrp
,
tFunc
(
tNone
,
tInt
),
OPT_EXTERNAL_DEPEND
);
ADD_EFUN
(
"setpgrp"
,
f_setpgrp
,
tFunc
(
tNone
,
tInt
),
ADD_FUNCTION2
(
"setpgrp"
,
f_setpgrp
,
tFunc
(
tNone
,
tInt
),
0
,
OPT_EXTERNAL_DEPEND
);
OPT_SIDE_EFFECT
);
ADD_FUNCTION2
(
"setpgrp"
,
f_setpgrp
,
tFunc
(
tNone
,
tInt
),
0
,
OPT_SIDE_EFFECT
);
#endif
#endif
#ifdef HAVE_GETSID
#ifdef HAVE_GETSID
...
@@ -1966,8 +1968,10 @@ void pike_module_init(void)
...
@@ -1966,8 +1968,10 @@ void pike_module_init(void)
#endif
#endif
#ifdef HAVE_SETSID
#ifdef HAVE_SETSID
ADD_EFUN
(
"setsid"
,
f_setsid
,
tFunc
(
tNone
,
tInt
),
OPT_EXTERNAL_DEPEND
);
ADD_EFUN
(
"setsid"
,
f_setsid
,
tFunc
(
tNone
,
tInt
),
ADD_FUNCTION2
(
"setsid"
,
f_setsid
,
tFunc
(
tNone
,
tInt
),
0
,
OPT_EXTERNAL_DEPEND
);
OPT_SIDE_EFFECT
);
ADD_FUNCTION2
(
"setsid"
,
f_setsid
,
tFunc
(
tNone
,
tInt
),
0
,
OPT_SIDE_EFFECT
);
#endif
#endif
#ifdef HAVE_GETRLIMIT
#ifdef HAVE_GETRLIMIT
...
@@ -1979,16 +1983,16 @@ void pike_module_init(void)
...
@@ -1979,16 +1983,16 @@ void pike_module_init(void)
#endif
#endif
#ifdef HAVE_SETRLIMIT
#ifdef HAVE_SETRLIMIT
ADD_FUNCTION2
(
"setrlimit"
,
f_setrlimit
,
tFunc
(
tString
tInt
tInt
,
tInt01
),
ADD_FUNCTION2
(
"setrlimit"
,
f_setrlimit
,
tFunc
(
tString
tInt
tInt
,
tInt01
),
0
,
OPT_
EXTERNAL_DEPEND
);
0
,
OPT_
SIDE_EFFECT
);
#endif
#endif
#ifdef HAVE_CHROOT
#ifdef HAVE_CHROOT
/* function(string|object:int) */
/* function(string|object:int) */
ADD_EFUN
(
"chroot"
,
f_chroot
,
tFunc
(
tOr
(
tStr
,
tObj
),
tInt
),
ADD_EFUN
(
"chroot"
,
f_chroot
,
tFunc
(
tOr
(
tStr
,
tObj
),
tInt
),
OPT_
EXTERNAL_DEPEND
);
OPT_
SIDE_EFFECT
);
ADD_FUNCTION2
(
"chroot"
,
f_chroot
,
tFunc
(
tOr
(
tStr
,
tObj
),
tInt
),
0
,
ADD_FUNCTION2
(
"chroot"
,
f_chroot
,
tFunc
(
tOr
(
tStr
,
tObj
),
tInt
),
0
,
OPT_
EXTERNAL_DEPEND
);
OPT_
SIDE_EFFECT
);
#endif
/* HAVE_CHROOT */
#endif
/* HAVE_CHROOT */
#if defined(HAVE_UNAME) || defined(HAVE_SYSINFO)
#if defined(HAVE_UNAME) || defined(HAVE_SYSINFO)
...
...
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