diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 21:06:18 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-10-07 21:06:18 (GMT) |
commit | d0ca955d9f8ff13af06db52bef1642b80832c0c3 (patch) | |
tree | 97f9c0c79dd363a44d97eb15c0439295736cda6e /Python/frozenmain.c | |
parent | 4e0630cb5276512541e75bc6f4dd63f7fda9bee3 (diff) | |
download | cpython-d0ca955d9f8ff13af06db52bef1642b80832c0c3.zip cpython-d0ca955d9f8ff13af06db52bef1642b80832c0c3.tar.gz cpython-d0ca955d9f8ff13af06db52bef1642b80832c0c3.tar.bz2 |
#4004: Missing newline in some startup error messages.
Patch by Victor.
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index a5e7360..b14c391 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -38,7 +38,7 @@ Py_FrozenMain(int argc, char **argv) } if (!argv_copy) { - fprintf(stderr, "out of memory"); + fprintf(stderr, "out of memory\n"); return 1; } @@ -52,18 +52,18 @@ Py_FrozenMain(int argc, char **argv) #endif size_t count; if (argsize == (size_t)-1) { - fprintf(stderr, "Could not convert argument %d to string", i); + fprintf(stderr, "Could not convert argument %d to string\n", i); return 1; } argv_copy[i] = PyMem_Malloc((argsize+1)*sizeof(wchar_t)); argv_copy2[i] = argv_copy[i]; if (!argv_copy[i]) { - fprintf(stderr, "out of memory"); + fprintf(stderr, "out of memory\n"); return 1; } count = mbstowcs(argv_copy[i], argv[i], argsize+1); if (count == (size_t)-1) { - fprintf(stderr, "Could not convert argument %d to string", i); + fprintf(stderr, "Could not convert argument %d to string\n", i); return 1; } } |