Author: hbelusca Date: Sat Jan 31 18:54:52 2015 New Revision: 66128
URL: http://svn.reactos.org/svn/reactos?rev=66128&view=rev Log: [CDMAKE]: Fix Philip's firstname; clarify code.
Modified: trunk/reactos/tools/cdmake/cdmake.c trunk/reactos/tools/cdmake/llmsort.c
Modified: trunk/reactos/tools/cdmake/cdmake.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/cdmake.c?rev=6... ============================================================================== --- trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] (original) +++ trunk/reactos/tools/cdmake/cdmake.c [iso-8859-1] Sat Jan 31 18:54:52 2015 @@ -34,7 +34,7 @@ * magnus@greatlord.com */
-/* According to his website, this file was released into the public domain by Phillip J. Erdelsky */ +/* According to his website, this file was released into the public domain by Philip J. Erdelsky */
#include <stdio.h> #include <fcntl.h> @@ -1838,10 +1838,14 @@ { char *trimmedline, *targetname, *srcname, *eq; char lineread[1024]; - FILE *f = fopen(source+1, "r"); + FILE *f; + + source++; + + f = fopen(source, "r"); if (!f) { - error_exit("Can't open cd description %s\n", source+1); + error_exit("Can't open cd description %s\n", source); } while (fgets(lineread, sizeof(lineread), f)) {
Modified: trunk/reactos/tools/cdmake/llmsort.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/cdmake/llmsort.c?rev=... ============================================================================== --- trunk/reactos/tools/cdmake/llmsort.c [iso-8859-1] (original) +++ trunk/reactos/tools/cdmake/llmsort.c [iso-8859-1] Sat Jan 31 18:54:52 2015 @@ -5,8 +5,7 @@ * http://alumnus.caltech.edu/~pje/ */
-/* According to his website, this file was released into the public domain by Phillip J. Erdelsky */ - +/* According to his website, this file was released into the public domain by Philip J. Erdelsky */
#include <stdio.h>