Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88612 Details for
Bug 135943
ekeyword: log ~arch keywording
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ekeyword-tildearch-log.patch
ekeyword-tildearch-log.patch (text/plain), 764 bytes, created by
Thomas Cort (RETIRED)
on 2006-06-07 10:04:17 UTC
(
hide
)
Description:
ekeyword-tildearch-log.patch
Filename:
MIME Type:
Creator:
Thomas Cort (RETIRED)
Created:
2006-06-07 10:04:17 UTC
Size:
764 bytes
patch
obsolete
>--- ekeyword.orig 2006-06-07 12:30:52.000000000 -0400 >+++ ekeyword 2006-06-07 12:52:51.000000000 -0400 >@@ -12,6 +12,7 @@ > # --- > # > KEYWORDS="x86 ppc sparc ~alpha" > >+use POSIX qw(strftime); > > my ($kw_re) = '^(?:([-~^]?)(\w[\w-]*)|([-^]\*))$'; > my (@kw); >@@ -109,6 +110,12 @@ > > system "diff $f $f.new | grep -v '^[0-1]'"; > rename "$f.new", "$f" or die "Can't rename: $!\n"; >+ >+ if (defined($ENV{'ECHANGELOG_TILDEARCH_LOG'}) && defined($ENV{'HOME'}) && $kw[0] =~ m/~/) { >+ open O, ">>$ENV{'HOME'}/.ekeyword_tildearch.log" or die "Cannot open tilde arch log"; >+ print O strftime("%Y %m %d", gmtime) . " Added " . $kw[0] . " to " . $f . "\n" or die "Cannot write tilde arch log"; >+ close O; >+ } > } > > # vim:ts=8 sw=4
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 135943
: 88612