~zulcss/ubuntu/lucid/likewise-open/likewise-open-sru

« back to all changes in this revision

Viewing changes to domainjoin/libdomainjoin/src/djlogger.c

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-08-27 08:56:20 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080827085620-5q0f58b9qtog9myq
Tags: 4.1.0.2956-0ubuntu1
* missing-likewise-logo.diff: removed
* fixed copyright notice
* updated Standards-Version to 3.8.0
* removed path from command in prerm
* removed stop in S runlevel

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
            &gdjLogInfo.logfile.logHandle);
110
110
        BAIL_ON_CENTERIS_ERROR(ceError);
111
111
        ceError = CTChangePermissions(gdjLogInfo.logfile.szLogPath, 0600);
 
112
        if(ceError == CENTERROR_INVALID_OPERATION)
 
113
        {
 
114
            //Some other user owns the file, so we can't change the
 
115
            //permissions.
 
116
            ceError = CENTERROR_SUCCESS;
 
117
        }
112
118
        BAIL_ON_CENTERIS_ERROR(ceError);
113
119
        ceError = CTSetCloseOnExec(fileno(gdjLogInfo.logfile.logHandle));
114
120
        BAIL_ON_CENTERIS_ERROR(ceError);