1. PyPA
  2. Python Packaging Authority Projects
  3. distlib

Commits

Pawel Jasinski  committed d3cd741

shebang can contain parameters - added missing separation

  • Participants
  • Parent commits 4a3e618
  • Branches default

Comments (0)

Files changed (1)

File PC/launcher.c

View file
 	assert(*p != '"', "Terminating quote without starting quote for executable in shebang line.");
 	/* Now we can skip the whitespace, having checked that it's there. */
 	while(*p && isspace(*p))
-		++p;
+        *p++ = '\0';
 	*argp = p;
 	return line;
 }