maint: fix submodule
This commit is contained in:
120
src/yait.c
120
src/yait.c
@@ -485,66 +485,66 @@ a @file{ChangeLog} entry.\n\
|
|||||||
asprintf(&src_path, "src/%s.c", package);
|
asprintf(&src_path, "src/%s.c", package);
|
||||||
fs_write(src_path, "typedef int x;");
|
fs_write(src_path, "typedef int x;");
|
||||||
// fs_write(src_path, "\
|
// fs_write(src_path, "\
|
||||||
// /* Copyright (C) %s\n\
|
// /* Copyright (C) %s\n\
|
||||||
// *\n\
|
// *\n\
|
||||||
// * This file is part of %s\n\
|
// * This file is part of %s\n\
|
||||||
// *\n\
|
// *\n\
|
||||||
// * This project and file is licenced under the BSD-3-Clause licence.\n\
|
// * This project and file is licenced under the BSD-3-Clause licence.\n\
|
||||||
// * <https://opensource.org/licence/bsd-3-clause>\n\
|
// * <https://opensource.org/licence/bsd-3-clause>\n\
|
||||||
// */\n\
|
// */\n\
|
||||||
// \n\
|
// \n\
|
||||||
// // Usage: %s [OPTION]...\n\
|
// // Usage: %s [OPTION]...\n\
|
||||||
// \n\
|
// \n\
|
||||||
// #include <stdlib.h>\n\
|
// #include <stdlib.h>\n\
|
||||||
// #include <stdio.h>\n\
|
// #include <stdio.h>\n\
|
||||||
// \n\
|
// \n\
|
||||||
// #include <config.h>\n\
|
// #include <config.h>\n\
|
||||||
// \n\
|
// \n\
|
||||||
// #include \"../lib/proginfo.h\"\n\
|
// #include \"../lib/proginfo.h\"\n\
|
||||||
// \n\
|
// \n\
|
||||||
// static int exit_status;\n\
|
// static int exit_status;\n\
|
||||||
// \n\
|
// \n\
|
||||||
// static void print_help();\n\
|
// static void print_help();\n\
|
||||||
// static void print_version();\n\
|
// static void print_version();\n\
|
||||||
// \n\
|
// \n\
|
||||||
// int main(int argc, char **argv)\n\
|
// int main(int argc, char **argv)\n\
|
||||||
// {\n\
|
// {\n\
|
||||||
// set_prog_name(argv[0]);\n\
|
// set_prog_name(argv[0]);\n\
|
||||||
// \n\
|
// \n\
|
||||||
// exit_status = EXIT_SUCCESS;\n\
|
// exit_status = EXIT_SUCCESS;\n\
|
||||||
// \n\
|
// \n\
|
||||||
// return exit_status;\n\
|
// return exit_status;\n\
|
||||||
// }\n\
|
// }\n\
|
||||||
// \n\
|
// \n\
|
||||||
// void print_help()\n\
|
// void print_help()\n\
|
||||||
// {\n\
|
// {\n\
|
||||||
// printf(\"Usage: %%s [OPTION]...\\n\", PROGRAM);\n\
|
// printf(\"Usage: %%s [OPTION]...\\n\", PROGRAM);\n\
|
||||||
// fputs(\"\\
|
// fputs(\"\\
|
||||||
// %s does a thing.\\n\",\n\
|
// %s does a thing.\\n\",\n\
|
||||||
// stdout);\n\
|
// stdout);\n\
|
||||||
// \n puts(\"\");\n\
|
// \n puts(\"\");\n\
|
||||||
// fputs(\"\\
|
// fputs(\"\\
|
||||||
// --help display this help and exit\\n\\
|
// --help display this help and exit\\n\\
|
||||||
// --version display version information and exit\\n\",\n\
|
// --version display version information and exit\\n\",\n\
|
||||||
// stdout);\n\
|
// stdout);\n\
|
||||||
// puts(\"\");\n\
|
// puts(\"\");\n\
|
||||||
// fputs(\"\\
|
// fputs(\"\\
|
||||||
// --option Does an awesome thing\\n\\\",\n\
|
// --option Does an awesome thing\\n\\\",\n\
|
||||||
// stdout);\n\
|
// stdout);\n\
|
||||||
// exit(exit_status);\n\
|
// exit(exit_status);\n\
|
||||||
// }\n\
|
// }\n\
|
||||||
// \n\
|
// \n\
|
||||||
// void print_version()\n\
|
// void print_version()\n\
|
||||||
// {\n\
|
// {\n\
|
||||||
// printf(\"%%s %%s %%d\\n\", prog_name, VERSION, COMMIT);\n\
|
// printf(\"%%s %%s %%d\\n\", prog_name, VERSION, COMMIT);\n\
|
||||||
// \n\
|
// \n\
|
||||||
// printf(\"Copyright (C) %%d %s.\\n\", YEAR);\n\
|
// printf(\"Copyright (C) %%d %s.\\n\", YEAR);\n\
|
||||||
// \n\
|
// \n\
|
||||||
// puts(\"This is free software: you are free to change and redistribute it.\");\n\
|
// puts(\"This is free software: you are free to change and redistribute it.\");\n\
|
||||||
// puts(\"There is NO WARRANTY, to the extent permitted by law.\");\n\
|
// puts(\"There is NO WARRANTY, to the extent permitted by law.\");\n\
|
||||||
// exit(exit_status);\n\
|
// exit(exit_status);\n\
|
||||||
// }\
|
// }\
|
||||||
// ",
|
// ",
|
||||||
// author, package, package, package, author);
|
// author, package, package, package, author);
|
||||||
free(src_path);
|
free(src_path);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user