version 1.57, 2020/06/10 21:05:50 |
version 1.58, 2020/06/13 01:19:55 |
|
|
{ /* sptr[0] == '\\' */ |
{ /* sptr[0] == '\\' */ |
char *pb = *pb_ptr; |
char *pb = *pb_ptr; |
const char *sptr = *sptr_ptr; |
const char *sptr = *sptr_ptr; |
static bool first = true; |
|
static bool do_posix = false; |
|
|
|
if (first) { |
|
first = false; |
|
do_posix = (getenv("POSIXLY_CORRECT") != NULL); |
|
} |
|
|
|
if (sptr[1] == '\\') { |
if (sptr[1] == '\\') { |
if (sptr[2] == '\\' && sptr[3] == '&') { /* \\\& -> \& */ |
if (sptr[2] == '\\' && sptr[3] == '&') { /* \\\& -> \& */ |