[File-cvs] CVS commit: file

Christos Zoulas christos at zoulas.com
Sun Nov 10 18:33:17 UTC 2024


Module Name:	file
Committed By:	christos
Date:		Sun Nov 10 18:33:17 UTC 2024

Modified Files:
	file/src: softmagic.c
	file/tests: Makefile.am
Added Files:
	file/tests: searchbug.magic searchbug.result searchbug.testfile

Log Message:
PR/562: jsummers: Search/regex offsets are absolute to the beginning of the
file, so adjust them by subtracting the offset that the "use" starts so that
we don't double-count it.


To generate a diff of this commit:
cvs rdiff -r1.348 -r1.349 file/src/softmagic.c
cvs rdiff -r1.46 -r1.47 file/tests/Makefile.am
cvs rdiff -r0 -r1.1 file/tests/searchbug.magic file/tests/searchbug.result \
    file/tests/searchbug.testfile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



More information about the File-cvs mailing list