~ubuntu-branches/ubuntu/precise/arj/precise-security

« back to all changes in this revision

Viewing changes to filemode.c

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover
  • Date: 2004-06-27 08:07:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040627080709-1gkxm72ex66gkwe4
Tags: upstream-3.10.21
ImportĀ upstreamĀ versionĀ 3.10.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: filemode.c,v 1.1.1.1 2002/03/28 00:02:55 andrew_belov Exp $
 
3
 * ---------------------------------------------------------------------------
 
4
 * This module contains  nothing more than a set of "r", "rb", "rb+" and other
 
5
 * file access modes, to conserve space in DGROUP.
 
6
 *
 
7
 */
 
8
 
 
9
#include "bindings.h"
 
10
 
 
11
/* File modes */
 
12
 
 
13
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFXV||defined(REARJ)||defined(REGISTER)
 
14
 char m_r[]="r";
 
15
#endif
 
16
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX
 
17
 char m_w[]="w";
 
18
#endif
 
19
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX||defined(REARJ)
 
20
 char m_rb[]="rb";
 
21
#endif
 
22
#if defined(ARJUTIL)||SFX_LEVEL>=ARJSFX||defined(REGISTER)||defined(REARJ)
 
23
 char m_rbp[]="rb+";
 
24
#endif
 
25
#if SFX_LEVEL>=ARJSFXV
 
26
 char m_rp[]="r+";
 
27
#endif
 
28
#if SFX_LEVEL>=ARJSFX||defined(REARJ)
 
29
 char m_wb[]="wb";
 
30
#endif
 
31
#if SFX_LEVEL>=ARJ
 
32
 char m_wbp[]="wb+";
 
33
#endif
 
34
#if SFX_LEVEL>=ARJ||defined(REARJ)
 
35
 char m_a[]="a";
 
36
#endif
 
37
#ifdef ARJUTIL
 
38
 char m_abp[]="ab+";
 
39
#endif
 
40