diff options
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 9 | ||||
-rw-r--r-- | unix/tclUnixFCmd.c | 14 |
2 files changed, 13 insertions, 10 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 3b2e3d7..e299ff3 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.129 2003/06/25 23:02:11 dkf Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.130 2003/07/18 02:02:02 das Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -1391,9 +1391,12 @@ allpatch: dist # TOOL_DIR. # -html: +html-tcl: EXTRA_HTML_ARGS=--tcl +html-tk: EXTRA_HTML_ARGS=--tk + +html html-tcl html-tk: $(TCL_EXE) $(TOOL_DIR)/tcltk-man2html.tcl --htmldir=$(DISTDIR)/html \ - --srcdir=$(TOP_DIR)/.. + --srcdir=$(TOP_DIR)/.. $(EXTRA_HTML_ARGS) # # Target to create a Macintosh version of the distribution. This will diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index f15b573..1754e2d 100644 --- a/unix/tclUnixFCmd.c +++ b/unix/tclUnixFCmd.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixFCmd.c,v 1.30 2003/07/16 15:29:09 dgp Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.31 2003/07/18 02:02:02 das Exp $ * * Portions of this code were derived from NetBSD source code which has * the following copyright notice: @@ -91,7 +91,7 @@ static int SetPermissionsAttribute _ANSI_ARGS_(( static int GetModeFromPermString _ANSI_ARGS_(( Tcl_Interp *interp, char *modeStringPtr, mode_t *modePtr)); -#ifdef HAVE_CHFLAGS +#if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) static int GetReadOnlyAttribute _ANSI_ARGS_((Tcl_Interp *interp, int objIndex, Tcl_Obj *fileName, Tcl_Obj **attributePtrPtr)); @@ -116,7 +116,7 @@ enum { UNIX_GROUP_ATTRIBUTE, UNIX_OWNER_ATTRIBUTE, UNIX_PERMISSIONS_ATTRIBUTE, -#ifdef HAVE_CHFLAGS +#if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) UNIX_READONLY_ATTRIBUTE, #endif #ifdef MAC_OSX_TCL @@ -131,7 +131,7 @@ CONST char *tclpFileAttrStrings[] = { "-group", "-owner", "-permissions", -#ifdef HAVE_CHFLAGS +#if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) "-readonly", #endif #ifdef MAC_OSX_TCL @@ -147,7 +147,7 @@ CONST TclFileAttrProcs tclpFileAttrProcs[] = { {GetGroupAttribute, SetGroupAttribute}, {GetOwnerAttribute, SetOwnerAttribute}, {GetPermissionsAttribute, SetPermissionsAttribute}, -#ifdef HAVE_CHFLAGS +#if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) {GetReadOnlyAttribute, SetReadOnlyAttribute}, #endif #ifdef MAC_OSX_TCL @@ -1817,7 +1817,7 @@ TclpObjNormalizePath(interp, pathPtr, nextCheckpoint) return nextCheckpoint; } -#ifdef HAVE_CHFLAGS +#if defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) /* *---------------------------------------------------------------------- * @@ -1917,4 +1917,4 @@ SetReadOnlyAttribute(interp, objIndex, fileName, attributePtr) } return TCL_OK; } -#endif /* HAVE_CHFLAGS */ +#endif /* defined(HAVE_CHFLAGS) && defined(UF_IMMUTABLE) */ |