* [PATCH] docbook: fix escaping of kernel-doc
[not found] ` <20050314004712.4746f2cf.akpm@osdl.org>
@ 2005-03-18 11:16 ` Martin Waitz
2005-03-18 11:22 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Martin Waitz @ 2005-03-18 11:16 UTC (permalink / raw)
To: Andrew Morton; +Cc: torvalds, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
hoi :)
the following patch fixes a bug I introduced with the last patches
of the DocBook generation.
Signed-off-by: Martin Waitz <tali@admingilde.org>
---
Please apply.
... and I really have to redo my bitkeeper repository as it
is full of merge artifacts as BK did not note the fact that
the patches were applied using normal patches.
I guess I have to use one complete tree per patch and recreate
the public repo as a combination of the individual ones.
Alternatives?
diff -Nru a/scripts/kernel-doc b/scripts/kernel-doc
--- a/scripts/kernel-doc 2005-03-18 11:51:17 +01:00
+++ b/scripts/kernel-doc 2005-03-18 11:51:17 +01:00
@@ -1626,11 +1655,11 @@
# replace <, >, and &
sub xml_escape($) {
- shift;
- s/\&/\\\\\\amp;/g;
- s/\</\\\\\\lt;/g;
- s/\>/\\\\\\gt;/g;
- return $_;
+ my $text = shift;
+ $text =~ s/\&/\\\\\\amp;/g;
+ $text =~ s/\</\\\\\\lt;/g;
+ $text =~ s/\>/\\\\\\gt;/g;
+ return $text;
}
sub process_file($) {
--
Martin Waitz
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] docbook: fix escaping of kernel-doc
2005-03-18 11:16 ` [PATCH] docbook: fix escaping of kernel-doc Martin Waitz
@ 2005-03-18 11:22 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-03-18 11:22 UTC (permalink / raw)
To: Martin Waitz; +Cc: torvalds, linux-kernel
Martin Waitz <tali@admingilde.org> wrote:
>
> ... and I really have to redo my bitkeeper repository as it
> is full of merge artifacts as BK did not note the fact that
> the patches were applied using normal patches.
Normally bk would handle that, but I have an irritating habit of stripping
off all the trailing whitespace which people keep trying to add to the
kernel.
> I guess I have to use one complete tree per patch and recreate
> the public repo as a combination of the individual ones.
> Alternatives?
Export all the csets as unified diffs, reapply them.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-18 11:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200503112034.j2BKYMli008385@shell0.pdx.osdl.net>
[not found] ` <20050314081319.GD8617@admingilde.org>
[not found] ` <20050314004712.4746f2cf.akpm@osdl.org>
2005-03-18 11:16 ` [PATCH] docbook: fix escaping of kernel-doc Martin Waitz
2005-03-18 11:22 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®