We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241455f commit 939344bCopy full SHA for 939344b
src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -85,10 +85,10 @@ dbgsysExec(char *cmdLine)
85
}
86
87
for (i = 0, p = args; i < argc; i++) {
88
+ p = skipWhitespace(p); // no-op on first iteration
89
argv[i] = p;
90
p = skipNonWhitespace(p);
91
*p++ = '\0';
- p = skipWhitespace(p);
92
93
argv[i] = NULL; /* NULL terminate */
94
0 commit comments