4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/hg/oneShot/padFile/padFile.c src/hg/oneShot/padFile/padFile.c index 7e22921..16358a3 100644 --- src/hg/oneShot/padFile/padFile.c +++ src/hg/oneShot/padFile/padFile.c @@ -1,40 +1,40 @@ /* padFile - Add a bunch of zeroes to end of file. */ /* Copyright (C) 2011 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "cheapcgi.h" void usage() /* Explain usage and exit. */ { errAbort( "padFile - Add a bunch of zeroes to end of file\n" "usage:\n" " padFile file count\n" "options:\n" " -xxx=XXX\n" ); } void padFile(char *file, int count) /* padFile - Add a bunch of zeroes to end of file. */ { int i; FILE *f = mustOpen(file, "a"); for (i=0; i<count; ++i) fputc(0, f); } int main(int argc, char *argv[]) /* Process command line. */ { cgiSpoof(&argc, argv); if (argc != 3) usage(); padFile(argv[1], atoi(argv[2])); return 0; }