rock.c: small C-Preprocessor bug noticed on Solaris 10 sparc. check_common_fn.in: avoid == for older /bin/sh as Solaris has
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 2005, 2008, 2010 Rocky Bernstein <rocky@gnu.org>
|
Copyright (C) 2005, 2008, 2010, 2011 Rocky Bernstein <rocky@gnu.org>
|
||||||
Adapted from GNU/Linux fs/isofs/rock.c (C) 1992, 1993 Eric Youngdale
|
Adapted from GNU/Linux fs/isofs/rock.c (C) 1992, 1993 Eric Youngdale
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
n You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
/* Rock Ridge Extensions to iso9660 */
|
/* Rock Ridge Extensions to iso9660 */
|
||||||
@@ -36,7 +36,7 @@ n You should have received a copy of the GNU General Public License
|
|||||||
|
|
||||||
#ifndef HAVE_S_ISLNK
|
#ifndef HAVE_S_ISLNK
|
||||||
# define S_ISLNK(s) ((void)s,0)
|
# define S_ISLNK(s) ((void)s,0)
|
||||||
endif
|
#endif
|
||||||
#ifndef HAVE_S_ISSOCK
|
#ifndef HAVE_S_ISSOCK
|
||||||
# define S_ISSOCK(s) ((void)s,0)
|
# define S_ISSOCK(s) ((void)s,0)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ test_legal_header() {
|
|||||||
opts="$2"
|
opts="$2"
|
||||||
outfile="$3"
|
outfile="$3"
|
||||||
|
|
||||||
if test "@GREP@" == no; then
|
if test "@GREP@" = no; then
|
||||||
echo "$0: No grep(1) found - cannot test ${cmd}."
|
echo "$0: No grep(1) found - cannot test ${cmd}."
|
||||||
echo "$0: Legal header test skipped."
|
echo "$0: Legal header test skipped."
|
||||||
exit $SKIP_TEST_EXITCODE
|
exit $SKIP_TEST_EXITCODE
|
||||||
|
|||||||
Reference in New Issue
Block a user