Skip to content

tail: reuse opened file --follow=descriptor and renamed#3830

Merged
sylvestre merged 1 commit intouutils:mainfrom
niyaznigmatullin:fix_descriptor_vs_rename
Aug 19, 2022
Merged

tail: reuse opened file --follow=descriptor and renamed#3830
sylvestre merged 1 commit intouutils:mainfrom
niyaznigmatullin:fix_descriptor_vs_rename

Conversation

@niyaznigmatullin
Copy link
Copy Markdown
Contributor

Discussed here #3798 (comment)

@jhscheer, I'm not sure we need ?, because it only happens when initially we couldn't open the file, so tail printed cannot open file for reading telling about an error to the user. But there can be a case when the file has been renamed twice, for example, in which case we don't print anything now, but later on the next event we will print something.

@niyaznigmatullin niyaznigmatullin force-pushed the fix_descriptor_vs_rename branch from 1bf631c to cdc6643 Compare August 17, 2022 10:14
@sylvestre
Copy link
Copy Markdown
Contributor

@jhscheer ok with you ?

@jhscheer
Copy link
Copy Markdown
Contributor

@jhscheer ok with you ?

Yes, looks good to me.

@sylvestre sylvestre merged commit 563de8b into uutils:main Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants