FreeBSD Bugzilla – Attachment 179127 Details for
Bug 216309
[exp-run] Request for exp-run with sed(1) change of inplace behavior
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to be used for exp-run
312404.patch (text/plain), 489 bytes, created by
Xin LI
on 2017-01-20 06:47:44 UTC
(
hide
)
Description:
Patch to be used for exp-run
Filename:
MIME Type:
Creator:
Xin LI
Created:
2017-01-20 06:47:44 UTC
Size:
489 bytes
patch
obsolete
>Index: usr.bin/sed/main.c >=================================================================== >--- usr.bin/sed/main.c (revision 312403) >+++ usr.bin/sed/main.c (revision 312404) >@@ -391,7 +391,7 @@ mf_fgets(SPACE *sp, enum e_spflag spflag) > if (inplace != NULL) { > if (lstat(fname, &sb) != 0) > err(1, "%s", fname); >- if (!(sb.st_mode & S_IFREG)) >+ if (!S_ISREG(sb.st_mode)) > errx(1, "%s: %s %s", fname, > "in-place editing only", > "works for regular files");
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 216309
: 179127