~ubuntu-branches/debian/sid/python2.7/sid

« back to all changes in this revision

Viewing changes to Python/frozenmain.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-05-10 23:40:03 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20150510234003-8tohs1y1swc56hwf
Tags: 2.7.10~rc1-1
* Python 2.7.10 release candidate 1.
* Re-enable running the tests, re-enable the pgo/lto build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#ifdef MS_WINDOWS
36
36
    PyInitFrozenExtensions();
37
37
#endif /* MS_WINDOWS */
38
 
    Py_SetProgramName(argv[0]);
 
38
    if (argc >= 1)
 
39
        Py_SetProgramName(argv[0]);
39
40
    Py_Initialize();
40
41
#ifdef MS_WINDOWS
41
42
    PyWinFreeze_ExeInit();