FreeBSD Bugzilla – Attachment 252889 Details for
Bug 280910
[PATCH] Fix crash for "tail -F"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
PATCH fixing crash for tail -F
tail.diff (text/plain), 402 bytes, created by
Andre Albsmeier
on 2024-08-18 17:05:36 UTC
(
hide
)
Description:
PATCH fixing crash for tail -F
Filename:
MIME Type:
Creator:
Andre Albsmeier
Created:
2024-08-18 17:05:36 UTC
Size:
402 bytes
patch
obsolete
>--- usr.bin/tail/forward.c.ORI 2024-01-09 13:46:10.000000000 +0100 >+++ usr.bin/tail/forward.c 2024-08-18 18:51:43.847641000 +0200 >@@ -382,7 +382,8 @@ > sb2.st_dev != file->st.st_dev || > sb2.st_nlink == 0) { > show(file); >- fclose(file->fp); >+ if (file->fp != NULL) >+ fclose(file->fp); > file->fp = ftmp; > memcpy(&file->st, &sb2, > sizeof(struct stat));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280910
: 252889
Working