~ubuntu-branches/ubuntu/quantal/lpr/quantal

« back to all changes in this revision

Viewing changes to common_source/startdaemon.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Majer
  • Date: 2006-11-04 23:21:59 UTC
  • mfrom: (3.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20061104232159-4sbjww5mmvuwcrqx
Tags: 1:2006.11.04
* Added upstream patches
   + lpr.c [rev. 1.39] - portability patch s/0/SEEK_SET/ in lseek
* /var/log/lp-{acct,errs} are now rotated weekly with lp:adm
   ownership with 0640 permissions. The latter is to counteract any
   security related information being leaked from filter's stderr to
   the log to the user. (closes: #390720)

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
                PRIV_END;
88
88
                siginterrupt(SIGINT, 0);
89
89
                perror("connect");
 
90
                fprintf(stderr, "Is lpd daemon running?\n" );
90
91
                (void)close(s);
91
92
                return(0);
92
93
        }