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

app-editors/aee: Fix call to undeclared function wprintf #31670

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

listout
Copy link
Contributor

@listout listout commented Jun 29, 2023

Closes: https://bugs.gentoo.org/894372
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @listout
Areas affected: ebuilds
Packages affected: app-editors/aee

app-editors/aee: @hattya

Linked bugs

Bugs linked: 894372


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Jun 29, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-06-29 18:40 UTC
Newest commit scanned: 40199eb
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/63c8d66c32/output.html

*/

- buffer->journ_fd = NULL;
+ buffer->journ_fd = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked how a 0 journ_fd is handled?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @x7upLime - iirc this is one of the packages you looked at too

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember journ_fd is not checked that much in aee..
(int) NULL and 0 for journal_fd should have similar effects I guess.. since is used only in calls to read/write/lseek.

journ_fd gets set to NULL during buffer initialization, or it gets voluntarily assigned to NULL instead of -1 if a call to open() fails; recover_from_journal() in journal.c does that.. Maybe having that function called could highlight any difference.. but I haven't tried.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
6 participants