mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 12:15:12 +00:00
[FIX/MOD] Stanza send function, fix some errors
Negociating stanza sizes seems to be real trouble. Also this code is now `-fanalyzer'-safe! Also kills the last GNUMakefile present. It wasn't even used...
This commit is contained in:
parent
d9b5141eb5
commit
ff5f085b7f
24 changed files with 114 additions and 152 deletions
12
configure.c
12
configure.c
|
|
@ -445,10 +445,15 @@ main_build(int argc, char *argv[])
|
|||
if (repo)
|
||||
{
|
||||
char *lf = strchr(repo, '\n');
|
||||
*lf = '\0';
|
||||
if (lf)
|
||||
{
|
||||
*lf = '\0';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
repo = strdup("N/A");
|
||||
}
|
||||
|
||||
while ((opt = getopt(argc, argv, "sl")) != -1)
|
||||
{
|
||||
|
|
@ -465,8 +470,9 @@ main_build(int argc, char *argv[])
|
|||
}
|
||||
|
||||
makefile = fopen("Makefile", "w");
|
||||
fprintf(makefile, "# Autogenerated POSIX Makefile\n");
|
||||
fprintf(makefile, "# Ideally do not touch.\n\n");
|
||||
fprintf(makefile, "# Autogenerated POSIX Makefile from Parsee\n");
|
||||
fprintf(makefile, "# Ideally do not touch, unless you have a very ");
|
||||
fprintf(makefile, "good reason to do it. \n\n");
|
||||
fprintf(makefile, ".POSIX: \n");
|
||||
fprintf(makefile, "include build.conf\n\n");
|
||||
fprintf(makefile, "AYAYAS=ayaya\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue