Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Social Cognitive Systems
ipaaca
Commits
cd980bed
Commit
cd980bed
authored
9 years ago
by
Ramin Yaghoubzadeh Torky
Browse files
Options
Downloads
Plain Diff
Forgot to pull (?)
parents
37d9b4b2
730c865d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ipaacalib/cpp/src/ipaaca-buffers.cc
+12
-0
12 additions, 0 deletions
ipaacalib/cpp/src/ipaaca-buffers.cc
with
12 additions
and
0 deletions
ipaacalib/cpp/src/ipaaca-buffers.cc
+
12
−
0
View file @
cd980bed
...
@@ -183,6 +183,12 @@ IPAACA_EXPORT boost::shared_ptr<int> CallbackIUPayloadUpdate::call(const std::st
...
@@ -183,6 +183,12 @@ IPAACA_EXPORT boost::shared_ptr<int> CallbackIUPayloadUpdate::call(const std::st
}
else
if
(
iu
->
retracted
())
{
}
else
if
(
iu
->
retracted
())
{
iu
->
_revision_lock
.
unlock
();
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
else
if
(
iu
->
committed
())
{
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
else
if
(
iu
->
retracted
())
{
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
}
if
(
update
->
is_delta
)
{
if
(
update
->
is_delta
)
{
// FIXME TODO this is an unsolved problem atm: deletions in a delta update are
// FIXME TODO this is an unsolved problem atm: deletions in a delta update are
...
@@ -220,6 +226,12 @@ IPAACA_EXPORT boost::shared_ptr<int> CallbackIULinkUpdate::call(const std::strin
...
@@ -220,6 +226,12 @@ IPAACA_EXPORT boost::shared_ptr<int> CallbackIULinkUpdate::call(const std::strin
}
else
if
(
iu
->
retracted
())
{
}
else
if
(
iu
->
retracted
())
{
iu
->
_revision_lock
.
unlock
();
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
else
if
(
iu
->
committed
())
{
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
else
if
(
iu
->
retracted
())
{
iu
->
_revision_lock
.
unlock
();
return
boost
::
shared_ptr
<
int
>
(
new
int
(
0
));
}
}
if
(
update
->
is_delta
)
{
if
(
update
->
is_delta
)
{
iu
->
modify_links
(
update
->
new_links
,
update
->
links_to_remove
,
update
->
writer_name
);
iu
->
modify_links
(
update
->
new_links
,
update
->
links_to_remove
,
update
->
writer_name
);
...
...
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