~ubuntu-branches/ubuntu/jaunty/lpr/jaunty

« back to all changes in this revision

Viewing changes to lpd/lpdchar.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Majer
  • Date: 2004-07-27 16:45:19 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040727164519-fjgr6gmzlkuh53zz
Tags: 1:2003.09.23-7
Remove bash specific syntax in postinst. To make sure permissions are fixed
for the new lpr, rerun permission fixups on /var/spool/lpd/*, again.
(closes: #261590)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $OpenBSD: lpdchar.c,v 1.2 1997/01/17 16:12:41 millert Exp $     */
 
1
/*      $OpenBSD: lpdchar.c,v 1.5 2003/06/02 23:36:53 millert Exp $     */
 
2
/*      $NetBSD: lpdchar.c,v 1.5 1997/07/17 05:44:32 mikel Exp $        */
2
3
 
3
4
/*
4
5
 * Copyright (c) 1983, 1993
12
13
 * 2. Redistributions in binary form must reproduce the above copyright
13
14
 *    notice, this list of conditions and the following disclaimer in the
14
15
 *    documentation and/or other materials provided with the distribution.
15
 
 * 3. All advertising materials mentioning features or use of this software
16
 
 *    must display the following acknowledgement:
17
 
 *      This product includes software developed by the University of
18
 
 *      California, Berkeley and its contributors.
19
 
 * 4. Neither the name of the University nor the names of its contributors
 
16
 * 3. Neither the name of the University nor the names of its contributors
20
17
 *    may be used to endorse or promote products derived from this software
21
18
 *    without specific prior written permission.
22
19
 *
35
32
 
36
33
#ifndef lint
37
34
#if 0
38
 
static char sccsid[] = "@(#)lpdchar.c   8.1 (Berkeley) 6/6/93";
 
35
static const char sccsid[] = "@(#)lpdchar.c     8.1 (Berkeley) 6/6/93";
39
36
#else
40
 
static char rcsid[] = "$OpenBSD: lpdchar.c,v 1.2 1997/01/17 16:12:41 millert Exp $";
 
37
static const char rcsid[] = "$OpenBSD: lpdchar.c,v 1.5 2003/06/02 23:36:53 millert Exp $";
41
38
#endif
42
39
#endif /* not lint */
43
40
 
107
104
#define c111111_ 0176
108
105
#define c1111111 0177
109
106
 
110
 
char scnkey[][HEIGHT] = /* this is relatively easy to modify */
 
107
const char scnkey[][HEIGHT] =   /* this is relatively easy to modify */
111
108
                        /* just look: */
112
109
{
113
110
        { c_______,