Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libutil

On Wed, Aug 07, 2013 at 10:51:59PM +0000, Paul Goyette wrote:
> Module Name:  src
> Committed By: pgoyette
> Date:         Wed Aug  7 22:51:59 UTC 2013
> Modified Files:
>       src/lib/libutil: snprintb.3
> Log Message:
> Add an example using snprintb_m()
> Replace \*[Gt] and \*[Lt] with the simple characters > and < (OK wiz)
> XXX Note that the examples currently do not compile with GCC!  The hex
> XXX character sequences such as \x10CACHE are being parsed as longer
> XXX than 2-hex-digit strings!

I would change all the examples to use concatenated strings.
As well as avoiding the above problem it makes them much, much, much
easier to read.

I remember changing some of the source files to split the strings.


David Laight:

Home | Main Index | Thread Index | Old Index