FW: [gs-cvs] gs/src
"Dan Coby" <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
I get very nervous when I see that DEBUG versus non DEBUG changes the parameters to functions, etc. Dan -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Stefan Kemper Sent: Thursday, October 23, 2003 12:29 PM To: [email protected] Subject: [gs-cvs] gs/src Update of /cvs/ghostscript/gs/src In directory casper:/tmp/cvs-serv22584 Modified Files: Tag: gslibctx gp_unifs.c Log Message: Debug string_match requires memory pointer arguement. Index: gp_unifs.c =================================================================== RCS file: /cvs/ghostscript/gs/src/gp_unifs.c,v retrieving revision 1.15.2.1 retrieving revision 1.15.2.2 diff -u -d -r1.15.2.1 -r1.15.2.2 --- gp_unifs.c 22 Oct 2003 16:45:23 -0000 1.15.2.1 +++ gp_unifs.c 23 Oct 2003 19:29:14 -0000 1.15.2.2 @@ -355,7 +355,11 @@ } /* Test for a match at this directory level */ +#if DEBUG if (!string_match(mem, (byte *) work, len, (byte *) pattern, pathead, NULL)) +#else + if (!string_match((byte *) work, len, (byte *) pattern, pathead, NULL)) +#endif goto top; /* Perhaps descend into subdirectories */ _______________________________________________ gs-cvs mailing list [email protected] http://www.ghostscript.com/mailman/listinfo/gs-cvs