Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
hash_backup
Commits
5aa8d588
Commit
5aa8d588
authored
Jan 21, 2021
by
Anders Blomdell
Browse files
Trying to find buffering deadlock
parent
1bd0a4e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
secondary.py
View file @
5aa8d588
...
...
@@ -134,8 +134,11 @@ class Backup:
parent
=
os
.
path
.
dirname
(
src
.
name
)
while
len
(
parent
)
!=
0
:
# Make sure directories get the correct modes
print
(
'Parent:'
,
parent
,
file
=
sys
.
stderr
)
self
.
primary_in
.
write
(
parent
+
b
'
\0
'
)
parent
=
os
.
path
.
dirname
(
parent
)
pass
print
(
'File:'
,
src
.
name
,
file
=
sys
.
stderr
)
self
.
primary_in
.
write
(
src
.
name
+
b
'
\0
'
)
self
.
primary_in
.
flush
()
...
...
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