mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
This reverts commit 71cda5bbdc.
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Microsoft.SqlTools.Credentials
|
||||
// which obtains the raw errno that varies between unixes. The strong typing as an enum is meant to
|
||||
// prevent confusing the two. Casting to or from int is suspect. Use GetLastErrorInfo() if you need to
|
||||
// correlate these to the underlying platform values or obtain the corresponding error message.
|
||||
//
|
||||
//
|
||||
|
||||
SUCCESS = 0,
|
||||
|
||||
@@ -183,7 +183,7 @@ namespace Microsoft.SqlTools.Credentials
|
||||
// so here in the future if necessary.
|
||||
message = buffer;
|
||||
}
|
||||
|
||||
|
||||
string returnMsg = Marshal.PtrToStringAnsi(message);
|
||||
return returnMsg;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Microsoft.SqlTools.Credentials
|
||||
{
|
||||
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_ChMod", SetLastError = true)]
|
||||
internal static extern int ChMod(string path, int mode);
|
||||
|
||||
|
||||
internal struct Passwd
|
||||
{
|
||||
internal IntPtr Name; // char*
|
||||
|
||||
Reference in New Issue
Block a user