~ubuntu-branches/ubuntu/intrepid/parted/intrepid

« back to all changes in this revision

Viewing changes to gnulib/lib/sysexits_.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-24 14:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624143105-rd7yw67a9qnvh51i
Tags: 1.8.8.git.2008.03.24-7ubuntu1
* Resynchronise with Debian (LP: #237568). Remaining changes:
  - swap-uuid.dpatch: Create UUIDs on new swap partitions.
  - gptsync.dpatch: On Intel Mac systems, write a synced MBR rather than a
    protective MBR.
  - Add -fno-stack-protector on sparc.
  - sparc-new-label.dpatch: Fix sparc disk label generation. This is
    required for LDOM and parallel installations with Solaris 10.
  - loop-partitions.dpatch: Loop devices can only have one partition, so
    don't generate device names such as "/dev/loop0p1".
  - unpartitioned-disks.dpatch: Don't try to call BLKPG ioctls on
    unpartitionable disks (only implemented for loop devices at the
    moment), as they will always fail.
  - When building with gcc-4.3, add -Wno-array-bounds to CFLAGS.
  - Cell partition tables are misdetected as pc98, so disable pc98 support
    on powerpc.
  - array-bounds.dpatch: Backport patch from git to allow building with
    gcc-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* exit() exit codes for some BSD system programs.
 
2
   Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
 
3
 
 
4
   This program is free software; you can redistribute it and/or modify
 
5
   it under the terms of the GNU General Public License as published by
 
6
   the Free Software Foundation; either version 2, or (at your option)
 
7
   any later version.
 
8
 
 
9
   This program is distributed in the hope that it will be useful,
 
10
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
   GNU General Public License for more details.
 
13
 
 
14
   You should have received a copy of the GNU General Public License
 
15
   along with this program; if not, write to the Free Software Foundation,
 
16
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
17
 
 
18
/* Written by Simon Josefsson based on sysexits(3) man page */
 
19
 
 
20
#ifndef _GL_SYSEXITS_H
 
21
 
 
22
#if @HAVE_SYSEXITS_H@
 
23
 
 
24
/* IRIX 6.5 has an <unistd.h> that defines a macro EX_OK with a nonzero
 
25
   value.  Override it.  See
 
26
   <http://lists.gnu.org/archive/html/bug-gnulib/2007-03/msg00361.html>  */
 
27
# ifdef __sgi
 
28
#  include <unistd.h>
 
29
#  undef EX_OK
 
30
# endif
 
31
 
 
32
/* The include_next requires a split double-inclusion guard.  */
 
33
# @INCLUDE_NEXT@ @NEXT_SYSEXITS_H@
 
34
 
 
35
/* HP-UX 11 <sysexits.h> ends at EX_NOPERM.  */
 
36
# ifndef EX_CONFIG
 
37
#  define EX_CONFIG 78
 
38
# endif
 
39
 
 
40
#endif
 
41
 
 
42
#ifndef _GL_SYSEXITS_H
 
43
#define _GL_SYSEXITS_H
 
44
 
 
45
#if !@HAVE_SYSEXITS_H@
 
46
 
 
47
# define EX_OK 0 /* same value as EXIT_SUCCESS */
 
48
 
 
49
# define EX_USAGE 64
 
50
# define EX_DATAERR 65
 
51
# define EX_NOINPUT 66
 
52
# define EX_NOUSER 67
 
53
# define EX_NOHOST 68
 
54
# define EX_UNAVAILABLE 69
 
55
# define EX_SOFTWARE 70
 
56
# define EX_OSERR 71
 
57
# define EX_OSFILE 72
 
58
# define EX_CANTCREAT 73
 
59
# define EX_IOERR 74
 
60
# define EX_TEMPFAIL 75
 
61
# define EX_PROTOCOL 76
 
62
# define EX_NOPERM 77
 
63
# define EX_CONFIG 78
 
64
 
 
65
#endif
 
66
 
 
67
#endif /* _GL_SYSEXITS_H */
 
68
#endif /* _GL_SYSEXITS_H */