[Ffmpeg-cvslog] CVS: ffmpeg/libavutil mathematics.c,1.4,1.5

Diego Biurrun diego
Sat Apr 29 18:10:37 CEST 2006


On Fri, Apr 28, 2006 at 10:41:27PM +0100, M?ns Rullg?rd wrote:
> Diego Biurrun <diego at biurrun.de> writes:
> 
> > On Fri, Apr 28, 2006 at 09:03:44PM +0100, M?ns Rullg?rd wrote:
> >> mru at mplayerhq.hu (MXns RullgXrd CVS) writes:
> >> 
> >> > Modified Files:
> >> > 	mathematics.c 
> >> > Log Message:
> >> > add newline at end of file
> >> 
> >> Diego, can we have a check for this in the cvs checking script?
> >
> > Sure.  Do you know offhand what I have to grep for?
> 
> I can't think of a grep pattern that will match this.  You can do
> 
>   tail -c1 file | wc -l
> 
> which should print 1.  It prints 0 if the file doesn't end with a
> newline.

Neat hack, that.  I've added it to our commit check script.

Diego





More information about the ffmpeg-cvslog mailing list