mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix screen locking for BSDs
This commit is contained in:
parent
1d8f86a6ba
commit
6f56ab0e42
3 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,8 @@ XCOMM include "Dt"
|
|||
Dtsession*drawArea.background: black
|
||||
#ifdef __osf__
|
||||
Dtsession*lockLabelPixmap.imageName: DECDtlogo
|
||||
#elif __FreeBSD__
|
||||
Dtsession*lockLabelPixmap.imageName: FreeBSDDtlogo
|
||||
#else
|
||||
Dtsession*lockLabelPixmap.imageName: Dtlogo
|
||||
#endif
|
||||
|
|
|
@ -101,6 +101,9 @@ static int RegisterX11ScreenSaver(Display *display, int *ssEventType);
|
|||
#ifdef SVR4
|
||||
#define SECURE_SYS_PATH "/etc/shadow"
|
||||
#endif
|
||||
#ifdef CSRG_BASED
|
||||
#define SECURE_SYS_PATH "/etc/master.passwd"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -239,7 +239,7 @@ SmSaverParseSaverList(
|
|||
int i = 0;
|
||||
char * tmpStr;
|
||||
int len = strlen(saverList);
|
||||
int bytes = sizeof(int);
|
||||
int bytes = sizeof(long);
|
||||
char *p;
|
||||
SmSaverParseStruct *pstruct;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue