Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
74cc16ce
Commit
74cc16ce
authored
Apr 14, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5387
parent
7f604a69
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
74cc16ce
...
...
@@ -2,6 +2,7 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.9 Engineering
Fixed libldap_r tpool pause checks (ITS#5364, #5407)
Fixed slapcat error checking (ITS#5387)
Fixed slapd frontendDB backend selection (ITS#5419)
Fixed slapd delta-syncrepl resync (ITS#5378)
Fixed slapd syncrepl hang on back-config (ITS#5407)
...
...
servers/slapd/slapcat.c
View file @
74cc16ce
...
...
@@ -84,6 +84,7 @@ slapcat( int argc, char **argv )
char
*
data
;
int
len
;
Entry
*
e
;
int
writerc
;
if
(
gotsig
)
break
;
...
...
@@ -123,8 +124,21 @@ slapcat( int argc, char **argv )
break
;
}
fputs
(
data
,
ldiffp
->
fp
);
fputs
(
"
\n
"
,
ldiffp
->
fp
);
writerc
=
fputs
(
data
,
ldiffp
->
fp
);
if
(
writerc
==
EOF
)
{
fprintf
(
stderr
,
"%s: error writing output.
\n
"
,
progname
);
rc
=
EXIT_FAILURE
;
break
;
}
writerc
=
fputs
(
"
\n
"
,
ldiffp
->
fp
);
if
(
writerc
==
EOF
)
{
fprintf
(
stderr
,
"%s: error writing output.
\n
"
,
progname
);
rc
=
EXIT_FAILURE
;
break
;
}
}
be
->
be_entry_close
(
be
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment