-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement nut-scanner -m auto*
modes on WIN32
#2521
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…etworkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
…tin) Signed-off-by: Jim Klimov <[email protected]>
…eir warnings if they fail (wrong "pwd"), and report the outcome Signed-off-by: Jim Klimov <[email protected]>
…newer GetAdaptersAddresses() and/or older GetAdaptersInfo() [networkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
jimklimov
added
Windows
nut-scanner
Windows-not-on-par-with-POSIX
Aspect of Windows builds known to be dysfunctional compared to POSIX builds; fix needed to be on par
portability
We want NUT to build and run everywhere possible
labels
Jul 9, 2024
jimklimov
requested review from
aquette and
arnaudquette-eaton
and removed request for
aquette
July 9, 2024 19:38
…upstools#2516] Signed-off-by: Jim Klimov <[email protected]>
Signed-off-by: Jim Klimov <[email protected]>
…) so they only run once and for all [networkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
… too [networkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
…Is [networkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
…ting for `-m auto` [networkupstools#2244, networkupstools#2516] Signed-off-by: Jim Klimov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
nut-scanner
portability
We want NUT to build and run everywhere possible
Windows
Windows-not-on-par-with-POSIX
Aspect of Windows builds known to be dysfunctional compared to POSIX builds; fix needed to be on par
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Found two ways to skin the cat. Apparently on older systems (~Vista and before) some structures may be different, something someone would address if encountered.
Checked both APIs in WSL builds, but had problems actually connecting to a NUT data server on another system (when calling NUT programs from WSL and having Windows intercept them to execute). The
upsc.exe
also had such problems; so maybe firewall.Same binaries executed straight from Windows did walk the data server and discover its devices:
Closes: #2516