annotate lib/di-set.h @ 17463:203c036eb0c6

bootstrap: support checksum utils without a --status option * build-aux/bootstrap: Only look for sha1sum if updating po files. Add sha1 to the list of supported checksum utils since it's now supported through adjustments below. (update_po_files): Remove the use of --status in a way that will suppress all error messages, but since this is only used to minimize updates, it shouldn't cause an issue. Exit early if there is a problem updating the po file checksums. (find_tool): Remove the check for --version support as this is optional as per commit 86186b17. Don't even check for the presence of the command as if that is needed, it's supported through configuring prerequisites in bootstrap.conf. Prompt that when a tool isn't found, one can define an environment variable to add to the hardcoded search list.
author Pádraig Brady <P@draigBrady.com>
date Thu, 08 Aug 2013 11:08:49 +0100
parents 724011432f7b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14312
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
1 #ifndef _GL_DI_SET_H
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
2 # define _GL_DI_SET_H
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
3
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
4 # include <sys/types.h>
14276
6b7046963230 di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
5
14351
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
6 # undef _GL_ATTRIBUTE_NONNULL
14312
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
7 # if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
14351
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
8 # define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
14312
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
9 # else
14351
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
10 # define _GL_ATTRIBUTE_NONNULL(m)
14312
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
11 # endif
14276
6b7046963230 di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
12
6b7046963230 di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
13 struct di_set *di_set_alloc (void);
14351
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
14 int di_set_insert (struct di_set *, dev_t, ino_t) _GL_ATTRIBUTE_NONNULL (1);
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
15 void di_set_free (struct di_set *) _GL_ATTRIBUTE_NONNULL (1);
14276
6b7046963230 di-set, ino-map: new modules, from coreutils
Jim Meyering <meyering@redhat.com>
parents:
diff changeset
16 int di_set_lookup (struct di_set *dis, dev_t dev, ino_t ino)
14351
724011432f7b Consistent macro naming for macros that use GCC __attribute__.
Bruno Haible <bruno@clisp.org>
parents: 14312
diff changeset
17 _GL_ATTRIBUTE_NONNULL (1);
14312
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
18
e8b52e48a3ab di-set.h, ino-map.h: add multiple-inclusion guard
Jim Meyering <meyering@redhat.com>
parents: 14276
diff changeset
19 #endif