This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems on accessing Windows network resources


Corinna Vinschen wrote:
> 
> > You will see that cygwin_set_impersonation_token() should
> > now return a success/failure indication, instead of void.
> > That's not done yet, waiting for your opinion.
> 
> How do you intend to use that return value?

If changing the type to return a value is likely to break
existing applications, I would no do it.
The feedback is meant for application writers or porters 
who attempt to use the function in a way it was not designed 
for. The patch turns those calls into noops (with strace
output), which should suffice in practice. 

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]