Add exit(0) to the end of all programs.

This commit is contained in:
trewitt
2002-08-12 17:37:04 +00:00
parent 336d35f91a
commit 5346c79e8c
15 changed files with 30 additions and 0 deletions

View File

@@ -61,5 +61,7 @@ int main(int argc, char **argv)
}
fprintf(stdout, "|\n");
}
exit(0);
}

View File

@@ -127,5 +127,6 @@ int started;
argv [2],
count);
exit(0);
}

View File

@@ -122,5 +122,7 @@ int opt;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -151,5 +151,7 @@ FILE *cfile;
mdb_free_handle (mdb);
mdb_exit();
exit(0);
}

View File

@@ -158,4 +158,6 @@ main (int argc, char **argv)
fprintf (stdout, "count = %d\n", count);
exit(0);
}

View File

@@ -117,5 +117,7 @@ char *the_relation;
mdb_free_handle (mdb);
mdb_exit();
exit(0);
}

View File

@@ -117,10 +117,14 @@ MdbSQL *sql;
}
}
mdb_sql_exit(sql);
exit(0);
}
#else
int main(int argc, char **argv)
{
fprintf(stderr,"You must configure using --enable-sql to get SQL support\n");
exit(-1);
}
#endif

View File

@@ -82,5 +82,6 @@ int opt;
mdb_exit();
if (delimiter) free(delimiter);
exit(0);
}

View File

@@ -61,5 +61,7 @@ int opt;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -43,5 +43,7 @@ MdbHandle *mdb;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -53,5 +53,7 @@ GList *l;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -53,5 +53,7 @@ int page, start, stop;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -49,5 +49,7 @@ MdbCatalogEntry entry;
mdb_free_handle(mdb);
mdb_exit();
#endif
exit(0);
}

View File

@@ -55,5 +55,7 @@ int found = 0;
}
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}

View File

@@ -54,6 +54,8 @@ MdbTableDef *table;
mdb_free_handle(mdb);
mdb_exit();
exit(0);
}
void print_table(MdbTableDef *table)