qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Patch removing spaces
@ 2008-05-18 16:31 Balazs Attila-Mihaly (Cd-MaN)
  2008-05-19  9:58 ` Ian Jackson
  0 siblings, 1 reply; 12+ messages in thread
From: Balazs Attila-Mihaly (Cd-MaN) @ 2008-05-18 16:31 UTC (permalink / raw)
  To: Qemu Devel

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Hello all,

If anyone is interested: a patch which removes spaces from the end of the lines. Compressed because it's rather big.

Best regards.



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

[-- Attachment #2: remove_spaces.diff.bz2 --]
[-- Type: application/x-bzip, Size: 33863 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [Qemu-devel] Patch removing spaces
@ 2008-05-22  4:19 Balazs Attila-Mihaly (Cd-MaN)
  2008-05-22 10:29 ` Ian Jackson
  0 siblings, 1 reply; 12+ messages in thread
From: Balazs Attila-Mihaly (Cd-MaN) @ 2008-05-22  4:19 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Hello all

I had no idea that the patch would start such a long discussion :-). I fully agree with the comment that a script producing the output is preferred to the actual patch, so that it can be verified. Attached you will find the perl script (which is a slight variation of the script I posted the link to earlier) used to perform the operation. It should be launched from the source directory and will go recursively (excluding .svn directories) and search for .c, .h and .texi files and apply the space-removing process on them. In the same time it replaces Windows newlines with *nix newlines (there were a couple of those in the source).

Don't get me wrong, I'm not pushing for inclusion or anything like that, I just thought that this was a convention in the source and wanted to help out preserving it.

Best regards.



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

[-- Attachment #2: strip_spaces.pl --]
[-- Type: application/x-perl, Size: 917 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-05-22 10:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-18 16:31 [Qemu-devel] Patch removing spaces Balazs Attila-Mihaly (Cd-MaN)
2008-05-19  9:58 ` Ian Jackson
2008-05-19 10:35   ` Johannes Schindelin
2008-05-19 10:52   ` [Qemu-devel] " Jan Kiszka
2008-05-19 17:58   ` [Qemu-devel] " malc
2008-05-19 18:14     ` Blue Swirl
2008-05-19 20:23       ` Stuart Brady
2008-05-19 20:59         ` Paul Brook
2008-05-20 11:00           ` Laurent Desnogues
2008-05-20 17:32       ` malc
  -- strict thread matches above, loose matches on Subject: below --
2008-05-22  4:19 Balazs Attila-Mihaly (Cd-MaN)
2008-05-22 10:29 ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).