git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 0.30.214.
[util-vserver.git]
/
src
/
rpm-fake.c
diff --git
a/src/rpm-fake.c
b/src/rpm-fake.c
index
5cc55fe
..
9bb5a6c
100644
(file)
--- a/
src/rpm-fake.c
+++ b/
src/rpm-fake.c
@@
-1,4
+1,4
@@
-// $Id: rpm-fake.c 2
421 2006-12-09 16:12:18
Z dhozac $ --*- c++ -*--
+// $Id: rpm-fake.c 2
578 2007-08-08 20:05:26
Z dhozac $ --*- c++ -*--
// Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
@@
-245,9
+245,9
@@
setupContext(xid_t xid, char const **xid_str)
xid_t rc=VC_NOCTX;
if ((xid==VC_DYNAMIC_XID || !vc_is_dynamic_xid(xid)) &&
xid_t rc=VC_NOCTX;
if ((xid==VC_DYNAMIC_XID || !vc_is_dynamic_xid(xid)) &&
- (rc=vc_ctx_create(xid))==VC_NOCTX &&
+ (rc=vc_ctx_create(xid
, NULL
))==VC_NOCTX &&
errno!=EEXIST) {
errno!=EEXIST) {
- perror(ENSC_WRAPPERS_PREFIX "vc_c
reate_context
()");
+ perror(ENSC_WRAPPERS_PREFIX "vc_c
tx_create
()");
exit(255);
}
exit(255);
}
@@
-595,7
+595,7
@@
execvWorker(char const *path, char * const argv[], char * const envp[])
int res = -1;
if (vc_isSupported(vcFEATURE_MIGRATE))
int res = -1;
if (vc_isSupported(vcFEATURE_MIGRATE))
- res = vc_ctx_migrate(ctx);
+ res = vc_ctx_migrate(ctx
, 0
);
else {
#ifdef VC_ENABLE_API_COMPAT
res = vc_new_s_context(ctx,caps,flags);
else {
#ifdef VC_ENABLE_API_COMPAT
res = vc_new_s_context(ctx,caps,flags);