Bug 5401 - getpassf() should honor strict modes
getpassf() should honor strict modes
Product: rsync
Classification: Unclassified
Component: core
All OS/2
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
Depends on:
  Show dependency treegraph
Reported: 2008-04-17 12:33 UTC by Steven H. Levine
Modified: 2008-06-11 12:29 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Steven H. Levine 2008-04-17 12:33:27 UTC
Porting to platforms without true stat() support would be simpler if getpassf() (authentic.c) honored the strict modes option.  The code would be similar to the existing code in get_secret().
Comment 1 Wayne Davison 2008-04-17 12:48:04 UTC
The strict-modes setting is a daemon setting.  The getpassf() function is a client function, so the two are not related.

It might be nice to have a way to make the client strict -- perhaps a configure option.
Comment 2 Steven H. Levine 2008-04-17 13:12:15 UTC
Oops, I forgot to consider that this was a client side issue.

A configure option would be handy.  For now, we will just patch it out with an #ifdef.

In case you would like to add the OS/2 port to your list of available binaries, it can be found at

Comment 3 Steven H. Levine 2008-06-11 12:29:09 UTC
This was reported to the rsync team as


As was pointed out by the maintainers, I goofed on my suggested fix.  What's really needed is to #ifdef the code based on a configure variable.  If might be sufficient to just use __OS2__.