[SERVER-17730] Parsing of Variables on Windows doesn't respect windows conventions Created: 25/Mar/15  Updated: 19/Sep/15  Resolved: 25/Mar/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.0.3, 3.1.1

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Participants:

 Description   

Our use of shlex in posix mode, unconditionally, means that we need to specify paths in an odd format.

We should, on Windows, default the shlex object to non-posix mode. However, we should also offer an option to expressly select a lexing mode so that the user can select one that makes sense for odd environments (like cygwin), where the windows behavior may not be correct.



 Comments   
Comment by Githook User [ 20/Apr/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-17730 Allow selection of non-posix shlex mode for Variables

(cherry picked from commit 91de99a737519c50047845cfd0c810b6d9329cc6)
Branch: v3.0
https://github.com/mongodb/mongo/commit/ca9aed9d8ed7cba741064304038dc8d10752926f

Comment by Githook User [ 25/Mar/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-17730 Allow selection of non-posix shlex mode for Variables
Branch: master
https://github.com/mongodb/mongo/commit/91de99a737519c50047845cfd0c810b6d9329cc6

Generated at Thu Feb 08 03:45:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.