Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #326 #327

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion librepo/downloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ select_next_target(LrDownload *dd,
}


#define XATTR_LIBREPO "user.Librepo.DownloadInProgress"
#define XATTR_LIBREPO "user.librepo.downloadinprogress"

/** Add an extended attribute that indicates that
* the file is being/was downloaded by Librepo
Expand Down
2 changes: 1 addition & 1 deletion librepo/xattr_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef __LR_XATTR_INTERNAL_H__
#define __LR_XATTR_INTERNAL_H__

#define XATTR_CHKSUM_PREFIX "user.Librepo.checksum."
#define XATTR_CHKSUM_PREFIX "user.librepo.checksum."
#define XATTR_CHKSUM_MTIME XATTR_CHKSUM_PREFIX "mtime"

#if __APPLE__
Expand Down
2 changes: 1 addition & 1 deletion tests/python/tests/test_yum_package_downloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def test_download_packages_with_resume_02(self):
# Otherwise librepo refuse to resume
try:
xattr.setxattr(fn,
"user.Librepo.DownloadInProgress".encode("utf-8"),
"user.librepo.downloadinprogress".encode("utf-8"),
"".encode("utf-8"))
except IOError as err:
if err.errno == 95:
Expand Down
Loading