[svn] Repository:
ViewVC logotype

Revision 1038


Jump to revision: Previous Next
Author: edgomez
Date: Thu May 22 16:36:07 2003 UTC (20 years, 11 months ago)
Log Message:
Removed this annoying \n from DPRINTF output. DPRINTF behaves
now like usual printf.

Just for fun, i decided to exercice my regexp skills:

for i in `find . -name "*.c"` ; do
     sed s/'\(DPRINTF(XVID_DEBUG.*\)"\([^"]\+[^\\][^n]\)"\(.*\)$'/'\1"\2\\n"\3'/g $i > $i.tmp;
     mv $i.tmp $i
done

Nice isn't it ? It just adds a \n to every DPRINTF call that
was relying on old behavior (automatic trailing \n).

Changed paths:

Path Details
Directorybranches/dev-api-4/xvidcore/src/bitstream/bitstream.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/bitstream/mbcoding.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/decoder.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/encoder.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/image/image.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/plugins/plugin_2pass2.c modified , text changed
Directorybranches/dev-api-4/xvidcore/src/portab.h modified , text changed
Directorybranches/dev-api-4/xvidcore/src/prediction/mbprediction.c modified , text changed

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4