mirror of https://github.com/vitalif/e2fsprogs
commit
4476105bf3
|
@ -746,6 +746,7 @@ PERL
|
|||
LDCONFIG
|
||||
AR
|
||||
STRIP
|
||||
MAKEINFO
|
||||
BUILD_CC
|
||||
SIZEOF_SHORT
|
||||
SIZEOF_INT
|
||||
|
@ -11596,6 +11597,58 @@ else
|
|||
STRIP="$ac_cv_prog_STRIP"
|
||||
fi
|
||||
|
||||
# Extract the first word of "makeinfo", so it can be a program name with args.
|
||||
set dummy makeinfo; ac_word=$2
|
||||
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_prog_MAKEINFO+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
if test -n "$MAKEINFO"; then
|
||||
ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
|
||||
else
|
||||
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||
for as_dir in $PATH
|
||||
do
|
||||
IFS=$as_save_IFS
|
||||
test -z "$as_dir" && as_dir=.
|
||||
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_prog_MAKEINFO="makeinfo"
|
||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
MAKEINFO=$ac_cv_prog_MAKEINFO
|
||||
if test -n "$MAKEINFO"; then
|
||||
{ echo "$as_me:$LINENO: result: $MAKEINFO" >&5
|
||||
echo "${ECHO_T}$MAKEINFO" >&6; }
|
||||
else
|
||||
{ echo "$as_me:$LINENO: result: no" >&5
|
||||
echo "${ECHO_T}no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test "_$MAKEINFO" = "_"; then
|
||||
MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
|
||||
else
|
||||
case "$MAKEINFO" in
|
||||
*/missing.*)
|
||||
{ echo "$as_me:$LINENO: WARNING:
|
||||
*** Makeinfo is missing. Info documentation will not be built." >&5
|
||||
echo "$as_me: WARNING:
|
||||
*** Makeinfo is missing. Info documentation will not be built." >&2;}
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Find a good install program. We prefer a C program (faster),
|
||||
# so one script is as good as another. But avoid the broken or
|
||||
# incompatible versions:
|
||||
|
@ -16138,6 +16191,7 @@ PERL!$PERL$ac_delim
|
|||
LDCONFIG!$LDCONFIG$ac_delim
|
||||
AR!$AR$ac_delim
|
||||
STRIP!$STRIP$ac_delim
|
||||
MAKEINFO!$MAKEINFO$ac_delim
|
||||
BUILD_CC!$BUILD_CC$ac_delim
|
||||
SIZEOF_SHORT!$SIZEOF_SHORT$ac_delim
|
||||
SIZEOF_INT!$SIZEOF_INT$ac_delim
|
||||
|
@ -16165,7 +16219,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||
_ACEOF
|
||||
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
|
||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
|
||||
break
|
||||
elif $ac_last_try; then
|
||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||
|
|
14
configure.in
14
configure.in
|
@ -595,6 +595,20 @@ AC_PATH_PROG(LDCONFIG, ldconfig, :)
|
|||
AC_CHECK_TOOL(AR, ar, ar)
|
||||
AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||
AC_CHECK_TOOL(STRIP, strip, :)
|
||||
AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
|
||||
if test "_$MAKEINFO" = "_"; then
|
||||
MAKEINFO="@echo Makeinfo is missing. Info documentation will not be built.;true"
|
||||
else
|
||||
case "$MAKEINFO" in
|
||||
*/missing.*)
|
||||
AC_MSG_WARN([
|
||||
*** Makeinfo is missing. Info documentation will not be built.])
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
AC_SUBST(MAKEINFO)
|
||||
AC_PROG_INSTALL
|
||||
# See if we need a separate native compiler.
|
||||
if test $cross_compiling = no; then
|
||||
|
|
|
@ -13,7 +13,7 @@ INSTALL = @INSTALL@
|
|||
|
||||
DVI=texi2dvi
|
||||
DVIPS=dvips -o "$@"
|
||||
INFO=makeinfo
|
||||
INFO=@MAKEINFO@
|
||||
HTML=texi2html
|
||||
|
||||
all:: libext2fs.info libext2fs.dvi
|
||||
|
|
|
@ -491,10 +491,7 @@ EXT2_ET_MISSING_INODE_TABLE.
|
|||
@comment node-name, next, previous, up
|
||||
@subsection Iterating over blocks in an inode
|
||||
|
||||
@deftypefun errcode_t ext2fs_block_iterate (ext2_filsys @var{fs},
|
||||
ext2_ino_t @var{ino}, int @var{flags}, char *block_buf, int
|
||||
(*func)(ext2_filsys @var{fs}, blk_t *@var{blocknr}, int @var{blockcnt},
|
||||
void *@var{private}), void *@var{private})
|
||||
@deftypefun errcode_t ext2fs_block_iterate (ext2_filsys @var{fs}, ext2_ino_t @var{ino}, int @var{flags}, char *block_buf, int (*func)(ext2_filsys @var{fs}, blk_t *@var{blocknr}, int @var{blockcnt}, void *@var{private}), void *@var{private})
|
||||
|
||||
Iterate over all of the blocks in inode number @var{ino} in filesystem
|
||||
@var{fs}, by calling the function @var{func} for each block in the
|
||||
|
@ -633,9 +630,7 @@ This function writes a directory block, performing any necessary
|
|||
byte swapping if necessary.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun errcode_t ext2fs_new_dir_block (ext2_filsys @var{fs},
|
||||
ext2_ino_t @var{dir_ino}, ext2_ino_t @var{parent_ino}, char
|
||||
**@var{block})
|
||||
@deftypefun errcode_t ext2fs_new_dir_block (ext2_filsys @var{fs}, ext2_ino_t @var{dir_ino}, ext2_ino_t @var{parent_ino}, char **@var{block})
|
||||
|
||||
This function creates a new directory block in @var{block}. If
|
||||
@var{dir_ino} is non-zero, then @var{dir_info} and @var{parent_ino} is used
|
||||
|
|
8543
doc/texinfo.tex
8543
doc/texinfo.tex
File diff suppressed because it is too large
Load Diff
|
@ -1234,7 +1234,12 @@ blkid_dev blkid_verify(blkid_cache cache, blkid_dev dev)
|
|||
if (((probe.fd = open(dev->bid_name, O_RDONLY)) < 0) ||
|
||||
(fstat(probe.fd, &st) < 0)) {
|
||||
if (probe.fd >= 0) close(probe.fd);
|
||||
if (errno != EPERM) {
|
||||
if ((errno != EPERM) && (errno != EACCES) &&
|
||||
(errno != ENOENT)) {
|
||||
DBG(DEBUG_PROBE,
|
||||
printf("blkid_verify: error %s (%d) while "
|
||||
"opening %s\n", strerror(errno), errno,
|
||||
dev->bid_name));
|
||||
blkid_free_dev(dev);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue