mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Major update of ecpg preprocessor
From: Michael Meskes <meskes@topsystem.de>
This commit is contained in:
@ -51,12 +51,7 @@ main(int argc, char *const argv[])
|
||||
{
|
||||
char *filename, *ptr2ext;
|
||||
|
||||
filename = malloc(strlen(argv[fnr]) + 2);
|
||||
if (filename == NULL)
|
||||
{
|
||||
perror("malloc");
|
||||
continue;
|
||||
}
|
||||
filename = mm_alloc(strlen(argv[fnr]) + 2);
|
||||
|
||||
strcpy(filename, argv[fnr]);
|
||||
|
||||
|
Reference in New Issue
Block a user