home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume40
/
dist-3.0
/
patch13
< prev
next >
Wrap
Text File
|
1993-10-25
|
29KB
|
978 lines
Newsgroups: comp.sources.misc
From: Raphael Manfredi <ram@acri.fr>
Subject: v40i047: dist-3.0 - Configure script generator and related tools, Patch13
Message-ID: <1993Oct25.211222.4057@sparky.sterling.com>
X-Md4-Signature: eba4f66b4ea1c00e80952175826b2ec6
Sender: kent@sparky.sterling.com (Kent Landfield)
Organization: Advanced Computer Research Institute, Lyon, France
Date: Mon, 25 Oct 1993 21:12:22 GMT
Approved: kent@sparky.sterling.com
Submitted-by: Raphael Manfredi <ram@acri.fr>
Posting-number: Volume 40, Issue 47
Archive-name: dist-3.0/patch13
Environment: UNIX, Perl, RCS
Patch-To: dist-3.0: Volume 39, Issue 5-32
[The latest patch for dist version 3.0 is #13.]
System: dist version 3.0
Patch #: 13
Priority: LOW
Subject: patch #12, continued
Date: Sat Oct 16 15:09:13 MET 1993
From: Raphael Manfredi <ram@acri.fr>
Description:
See patch #12.
Fix: From rn, say "| patch -p -N -d DIR", where DIR is your dist source
directory. Outside of rn, say "cd DIR; patch -p -N <thisarticle".
If you don't have the patch program, apply the following by hand,
or get patch (version 2.0, latest patchlevel).
After patching:
Configure -ders
make
make install
make install.man
If patch indicates that patchlevel is the wrong version, you may need
to apply one or more previous patches, or the patch may already
have been applied. See the patchlevel.h file to find out what has or
has not been applied. In any event, don't continue with the patch.
If you are missing previous patches they can be obtained from me:
Raphael Manfredi <ram@acri.fr>
If you send a mail message of the following form it will greatly speed
processing:
Subject: Command
@SH mailpatch PATH dist 3.0 LIST
^ note the c
where PATH is a return path FROM ME TO YOU either in Internet notation,
or in bang notation from some well-known host, and LIST is the number
of one or more patches you need, separated by spaces, commas, and/or
hyphens. Saying 35- says everything from 35 to the end.
To get some more detailed instructions, send me the following mail:
Subject: Command
@SH mailhelp PATH
Index: patchlevel.h
Prereq: 12
4c4
< #define PATCHLEVEL 12
---
> #define PATCHLEVEL 13
Index: mcon/man/mlint.SH
Prereq: 3.0.1.1
*** mcon/man/mlint.SH.old Sat Oct 16 14:56:56 1993
--- mcon/man/mlint.SH Sat Oct 16 14:56:56 1993
***************
*** 20,26 ****
.TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
''' @(#) Manual page for metalint
'''
! ''' $Id: mlint.SH,v 3.0.1.1 1993/08/19 06:42:24 ram Exp $
'''
''' Copyright (c) 1991-1993, Raphael Manfredi
'''
--- 20,26 ----
.TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
''' @(#) Manual page for metalint
'''
! ''' $Id: mlint.SH,v 3.0.1.2 1993/10/16 13:52:23 ram Exp $
'''
''' Copyright (c) 1991-1993, Raphael Manfredi
'''
***************
*** 31,36 ****
--- 31,39 ----
''' of the source tree for dist 3.0.
'''
''' $Log: mlint.SH,v $
+ ''' Revision 3.0.1.2 1993/10/16 13:52:23 ram
+ ''' patch12: added support for ?M: lines and fixed some typos
+ '''
''' Revision 3.0.1.1 1993/08/19 06:42:24 ram
''' patch1: leading config.sh searching was not aborting properly
'''
***************
*** 122,127 ****
--- 125,137 ----
"(?H) variable '\$xxx' not even listed on ?MAKE: line."
A variable is used, but not listed on the dependency line.
.TP
+ "(?M) syntax error in ?M: construct."
+ Self explainatory.
+ .TP
+ "(?M) symbol 'xxx' already listed on a ?M: line in 'yyy'."
+ A magic definition for symbol xxx is attempted, but another one was
+ already provided in unit yyy.
+ .TP
"(?V) visible declaration in non-special unit ignored."
Visible declarations (?V: lines) may only appear in special units. Otherwise,
they are meaningless.
***************
*** 250,259 ****
"Shell symbol 'xxx' obsoleted also used as temporary:"
Self explainatory.
.TP
! "definition of '\$XXX' not closed by '?S:.'."
Self explainatory.
.TP
"definition of 'XXX' not closed by '?C:.'."
Self explainatory.
.TP
"variable '\$xxx' is defined externally."
--- 260,272 ----
"Shell symbol 'xxx' obsoleted also used as temporary:"
Self explainatory.
.TP
! "definition of '\$xxx' not closed by '?S:.'."
Self explainatory.
.TP
"definition of 'XXX' not closed by '?C:.'."
+ Self explainatory.
+ .TP
+ "magic definition of 'xxx' not closed by '?M:.'."
Self explainatory.
.TP
"variable '\$xxx' is defined externally."
Index: mcon/makegloss.SH
Prereq: 3.0.1.1
*** mcon/makegloss.SH.old Sat Oct 16 14:56:51 1993
--- mcon/makegloss.SH Sat Oct 16 14:56:51 1993
***************
*** 22,28 ****
!GROK!THIS!
$spitshell >>makegloss <<'!NO!SUBS!'
! # $Id: makegloss.SH,v 3.0.1.1 1993/08/19 06:42:21 ram Exp $
#
# Copyright (c) 1991-1993, Raphael Manfredi
#
--- 22,28 ----
!GROK!THIS!
$spitshell >>makegloss <<'!NO!SUBS!'
! # $Id: makegloss.SH,v 3.0.1.2 1993/10/16 13:50:39 ram Exp $
#
# Copyright (c) 1991-1993, Raphael Manfredi
#
***************
*** 35,40 ****
--- 35,43 ----
# Original Author: Larry Wall <lwall@netlabs.com>
#
# $Log: makegloss.SH,v $
+ # Revision 3.0.1.2 1993/10/16 13:50:39 ram
+ # patch12: updated to support new ?M: lines
+ #
# Revision 3.0.1.1 1993/08/19 06:42:21 ram
# patch1: leading config.sh searching was not aborting properly
#
***************
*** 109,115 ****
# The main symbol (optionally aliased) can be followed by a list of
# obsolete symbols (the list is space separated).
! if (s/^\?[CS]:(\w+)(\s*~\s*\S+)?\s*(\(.*\))?:s*$/$1:\n/) {
$sym = $1;
$obsoleted = $3;
push(@syms, $sym);
--- 112,118 ----
# The main symbol (optionally aliased) can be followed by a list of
# obsolete symbols (the list is space separated).
! if (/^\?[CS]:(\w+)(\s*~\s*\S+)?\s*(\(.*\))?:\s*$/) {
$sym = $1;
$obsoleted = $3;
push(@syms, $sym);
***************
*** 129,134 ****
--- 132,153 ----
}
else {
s/^(\t| ? ? ? ? ? ? ?)//;
+ $def{$sym} .= "\t" . $_;
+ }
+ }
+ elsif (/^\?M:(\w+):\s*([\w\s]*)\n$/) { # Magic mapping introduction
+ $sym = $1;
+ $cdep = $2;
+ push(@syms, $sym);
+ $cdep =~ s/^\s*//;
+ $cdep = ", needs: $cdep" if $cdep ne '';
+ $header{$sym} = "\tMagic symbol$cdep\n" . $head;
+ }
+ elsif (s/^\?M://) { # Must be a magic mapping definition
+ if (/^\.$/) { # Closing line
+ $def{$sym} .= "\n";
+ $sym = '';
+ } else {
$def{$sym} .= "\t" . $_;
}
}
Index: mcon/U/MailAuthor.U
Prereq: 3.0.1.2
*** mcon/U/MailAuthor.U.old Sat Oct 16 14:56:43 1993
--- mcon/U/MailAuthor.U Sat Oct 16 14:56:43 1993
***************
*** 1,4 ****
! ?RCS: $Id: MailAuthor.U,v 3.0.1.2 1993/09/13 15:48:49 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: MailAuthor.U,v 3.0.1.3 1993/10/16 13:47:30 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 11,16 ****
--- 11,19 ----
?RCS: Original Author: Graham Stoney <greyham@research.canon.oz.au>
?RCS:
?RCS: $Log: MailAuthor.U,v $
+ ?RCS: Revision 3.0.1.3 1993/10/16 13:47:30 ram
+ ?RCS: patch12: now makes sure user-specified address is in Internet format
+ ?RCS:
?RCS: Revision 3.0.1.2 1993/09/13 15:48:49 ram
?RCS: patch10: reverted to original intent by the Author himself
?RCS:
***************
*** 102,112 ****
'-'|'') dflt=none;;
*) dflt="$usermail";;
esac
! rp='Manually specify a return address to use?'
. ./myread
case "$ans" in
! none) usermail='-';;
! *) usermail="$ans";;
esac
echo " "
opt=''
--- 105,130 ----
'-'|'') dflt=none;;
*) dflt="$usermail";;
esac
! rp='Manually specify a return address to use:'
. ./myread
case "$ans" in
! none|*@*.*)
! case "$ans" in
! none) usermail='-';;
! *) usermail="$ans";;
! esac
! ;;
! *)
! echo "(Address does not look like an Internet one -- ignoring it.)"
! ?X:
! ?X: If we can't trust their mailer or their return address, it's highly
! ?X: suggested that they only register and don't ask to get anything from
! ?X: the author, since it's likely to bounce in null-land -- RAM.
! ?X:
! usermail='-'
! mailpatches=false
! notifypatches=false
! ;;
esac
echo " "
opt=''
Index: mcon/U/Magic_h.U
*** mcon/U/Magic_h.U.old Sat Oct 16 14:56:42 1993
--- mcon/U/Magic_h.U Sat Oct 16 14:56:42 1993
***************
*** 0 ****
--- 1,39 ----
+ ?RCS: $Id: Magic_h.U,v 3.0.1.1 1993/10/16 13:46:59 ram Exp $
+ ?RCS:
+ ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+ ?RCS:
+ ?RCS: You may redistribute only under the terms of the Artistic Licence,
+ ?RCS: as specified in the README file that comes with the distribution.
+ ?RCS: You may reuse parts of this distribution only within the terms of
+ ?RCS: that same Artistic Licence; a copy of which may be found at the root
+ ?RCS: of the source tree for dist 3.0.
+ ?RCS:
+ ?RCS: $Log: Magic_h.U,v $
+ ?RCS: Revision 3.0.1.1 1993/10/16 13:46:59 ram
+ ?RCS: patch12: created for ?M: lines support (magic symbols)
+ ?RCS:
+ ?X:
+ ?X: This file ends up producing the confmagic.h include, which is used to
+ ?X: automagically remap some C symbols via cpp redefinitions.
+ ?X:
+ ?X: The file ./Magic_h below contains all the ?M: lines extracted out of all
+ ?X: the units. Metaconfig itself adds the final #endif statement.
+ ?X: Note that this code isn't included into Configure, but must be shipped with.
+ ?X:
+ ?MAKE:Magic_h: Config_h
+ ?MAKE: -pick cm_h_weed $@ %<
+ ?MAKE: -pick cm_h_weed $@ ./Magic_h
+ /*
+ * This file was produced by running metaconfig and is intended to be included
+ * after config.h and after all the other needed includes have been dealt with.
+ *
+ * This file may be empty, and should not be edited. Rerun metaconfig instead.
+ * If you wish to get rid of this magic, remove this file and rerun metaconfig
+ * without the -M option.
+ *
+ * $Id: Magic_h.U,v 3.0.1.1 1993/10/16 13:46:59 ram Exp $
+ */
+
+ #ifndef _confmagic_h_
+ #define _confmagic_h_
+
Index: mcon/pl/depend.pl
Prereq: 3.0
*** mcon/pl/depend.pl.old Sat Oct 16 14:57:01 1993
--- mcon/pl/depend.pl Sat Oct 16 14:57:01 1993
***************
*** 1,4 ****
! ;# $Id: depend.pl,v 3.0 1993/08/18 12:10:21 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
--- 1,4 ----
! ;# $Id: depend.pl,v 3.0.1.1 1993/10/16 13:54:35 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
***************
*** 9,14 ****
--- 9,17 ----
;# of the source tree for dist 3.0.
;#
;# $Log: depend.pl,v $
+ ;# Revision 3.0.1.1 1993/10/16 13:54:35 ram
+ ;# patch12: added minimal support for ?P: lines (not ready yet)
+ ;#
;# Revision 3.0 1993/08/18 12:10:21 ram
;# Baseline for dist 3.0 netwide release.
;#
***************
*** 56,61 ****
--- 59,82 ----
local($_) = @_;
s/^([A-Za-z_]+)=(.*)/@if !$1\n%$1:$1=$2\n@define $1\n@end/
&& ($hasdefault{$1}++, print INIT $_);
+ }
+
+ # Process the ?P: lines
+ sub p_public {
+ local($_) = @_;
+ local($csym); # C symbol(s) we're trying to look at
+ local($nosym); # List of symbol(s) which mustn't be wanted
+ local($cfile); # Name of file implementing csym (no .ext)
+ ($csym, $nosym, $cfile) = /([^()]+)\s*(\(.*\))\s*:\s*(\S+)/;
+ unless ($csym eq '' || $cfile eq '') {
+ # Add dependencies for each C symbol, of the form:
+ # -pick public <sym> <file> <notdef symbols list>
+ # and the file will be added to config.c whenever sym is wanted and
+ # none of the notdef symbols is wanted.
+ foreach $sym (split(' ', $csym)) {
+ $dependencies .= "\t-pick public $sym $cfile $nosym\n";
+ }
+ }
}
# Process the ?L: lines
Index: mcon/U/Finish.U
Prereq: 3.0.1.2
*** mcon/U/Finish.U.old Sat Oct 16 14:56:42 1993
--- mcon/U/Finish.U Sat Oct 16 14:56:42 1993
***************
*** 1,4 ****
! ?RCS: $Id: Finish.U,v 3.0.1.2 1993/09/13 15:45:26 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: Finish.U,v 3.0.1.3 1993/10/16 13:46:09 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: Finish.U,v $
+ ?RCS: Revision 3.0.1.3 1993/10/16 13:46:09 ram
+ ?RCS: patch12: replaced Config_h by Magic_h in the dependency line
+ ?RCS:
?RCS: Revision 3.0.1.2 1993/09/13 15:45:26 ram
?RCS: patch10: fixed shell evaluation w/o shell escape while in silent mode
?RCS:
***************
*** 23,29 ****
?X: SH files, which among other things produce config.h and (usually) Makefile.
?X: It offers to do a make depend if the Makefile contains that target.
?X:
! ?MAKE:Finish: Chk_MANI Extract Myread Oldsym Config_h cat rm contains
?MAKE: -pick add $@ %<
: Finish up by extracting the .SH files
case "$alldone" in
--- 26,32 ----
?X: SH files, which among other things produce config.h and (usually) Makefile.
?X: It offers to do a make depend if the Makefile contains that target.
?X:
! ?MAKE:Finish: Chk_MANI Extract Myread Oldsym Magic_h cat rm contains
?MAKE: -pick add $@ %<
: Finish up by extracting the .SH files
case "$alldone" in
Index: MANIFEST
*** MANIFEST.old Sat Oct 16 14:57:07 1993
--- MANIFEST Sat Oct 16 14:57:07 1993
***************
*** 80,85 ****
--- 80,86 ----
mcon/U/Inlibc.U Defines an is-in-libc? function
mcon/U/Instruct.U Prints instructions
mcon/U/Loc.U Look for common programs
+ mcon/U/Magic_h.U Makes confmagic.h--bizarrity here
mcon/U/MailAuthor.U Offers user to register himself
mcon/U/Myinit.U For copying to private U directories
mcon/U/Myread.U Makes program to do read with shell escape
***************
*** 245,250 ****
--- 246,252 ----
mcon/U/d_syscall.U Do we have syscall()?
mcon/U/d_syslog.U Do we have syslog()?
mcon/U/d_system.U Do we have system()?
+ mcon/U/d_table.U De we have table()?
mcon/U/d_time.U Do we have time()?
mcon/U/d_times.U Do we have a times() function?
mcon/U/d_tminsys.U Is struct tm in <sys/time.h>?
***************
*** 295,300 ****
--- 297,303 ----
mcon/U/i_sysresrc.U Shall we include <sys/resource.h>?
mcon/U/i_sysselct.U Shall we include <sys/select.h>?
mcon/U/i_syssock.U Shall we include <sys/socket.h>?
+ mcon/U/i_systable.U De we have to include <sys/table.h>?
mcon/U/i_systimeb.U Is struct timeb defined in <sys/timeb.h>?
mcon/U/i_systimes.U Shall we include <sys/times.h>?
mcon/U/i_systwgcf.U Shall we include <sys/twg_config.h>?
Index: mcon/U/i_string.U
Prereq: 3.0.1.1
*** mcon/U/i_string.U.old Sat Oct 16 14:56:50 1993
--- mcon/U/i_string.U Sat Oct 16 14:56:50 1993
***************
*** 1,4 ****
! ?RCS: $Id: i_string.U,v 3.0.1.1 1993/09/13 16:07:26 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: i_string.U,v 3.0.1.2 1993/10/16 13:50:12 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: i_string.U,v $
+ ?RCS: Revision 3.0.1.2 1993/10/16 13:50:12 ram
+ ?RCS: patch12: special units Loc and Guess were missing from dependencies
+ ?RCS:
?RCS: Revision 3.0.1.1 1993/09/13 16:07:26 ram
?RCS: patch10: removed "(Actually, this looks more like...)" messages (WAD)
?RCS:
***************
*** 18,24 ****
?X:
?X: See if we should include <string.h> or <strings.h>
?X:
! ?MAKE:i_string strings: test Loc Guess Setvar Findhdr
?MAKE: -pick add $@ %<
?S:i_string:
?S: This variable conditionally defines the I_STRING symbol, which
--- 21,27 ----
?X:
?X: See if we should include <string.h> or <strings.h>
?X:
! ?MAKE:i_string strings: test Setvar Findhdr
?MAKE: -pick add $@ %<
?S:i_string:
?S: This variable conditionally defines the I_STRING symbol, which
Index: mcon/man/mxref.SH
Prereq: 3.0.1.1
*** mcon/man/mxref.SH.old Sat Oct 16 14:56:57 1993
--- mcon/man/mxref.SH Sat Oct 16 14:56:57 1993
***************
*** 20,26 ****
.TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
''' @(#) Manual page for metaxref
'''
! ''' $Id: mxref.SH,v 3.0.1.1 1993/08/19 06:42:25 ram Exp $
'''
''' Copyright (c) 1991-1993, Raphael Manfredi
'''
--- 20,26 ----
.TH METACONFIG $manext "Version $VERSION PL$PATCHLEVEL"
''' @(#) Manual page for metaxref
'''
! ''' $Id: mxref.SH,v 3.0.1.2 1993/10/16 13:52:46 ram Exp $
'''
''' Copyright (c) 1991-1993, Raphael Manfredi
'''
***************
*** 31,36 ****
--- 31,39 ----
''' of the source tree for dist 3.0.
'''
''' $Log: mxref.SH,v $
+ ''' Revision 3.0.1.2 1993/10/16 13:52:46 ram
+ ''' patch12: added BUGS section
+ '''
''' Revision 3.0.1.1 1993/08/19 06:42:25 ram
''' patch1: leading config.sh searching was not aborting properly
'''
***************
*** 109,114 ****
--- 112,121 ----
.in +5
where LIB is $privlibexp.
.in -5
+ .SH BUGS
+ Metaxref will list among the wanted items all those magic symbols defined
+ within units on the ?M: lines. Those are relevant only when metaconfig is
+ invoked with the \fB\-M\fR option.
.SH "SEE ALSO"
metaconfig($manext), metalint($manext)
!GROK!THIS!
Index: mcon/U/i_systable.U
*** mcon/U/i_systable.U.old Sat Oct 16 14:56:50 1993
--- mcon/U/i_systable.U Sat Oct 16 14:56:50 1993
***************
*** 0 ****
--- 1,32 ----
+ ?RCS: $Id: i_systable.U,v 3.0.1.1 1993/10/16 13:50:20 ram Exp $
+ ?RCS:
+ ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+ ?RCS:
+ ?RCS: You may redistribute only under the terms of the Artistic Licence,
+ ?RCS: as specified in the README file that comes with the distribution.
+ ?RCS: You may reuse parts of this distribution only within the terms of
+ ?RCS: that same Artistic Licence; a copy of which may be found at the root
+ ?RCS: of the source tree for dist 3.0.
+ ?RCS:
+ ?RCS: $Log: i_systable.U,v $
+ ?RCS: Revision 3.0.1.1 1993/10/16 13:50:20 ram
+ ?RCS: patch12: created
+ ?RCS:
+ ?RCS:
+ ?MAKE:i_systable: Inhdr
+ ?MAKE: -pick add $@ %<
+ ?S:i_systable:
+ ?S: This variable conditionally defines the I_SYS_TABLE symbol, and
+ ?S: indicates whether a C program should include <sys/table.h>.
+ ?S:.
+ ?C:I_SYS_TABLE:
+ ?C: This symbol, if defined, indicates to the C program that it should
+ ?C: include <sys/table.h> for the OSF/1 table() system call.
+ ?C:.
+ ?H:#$i_systable I_SYS_TABLE /**/
+ ?H:.
+ ?LINT:set i_systable
+ : see if this is an OSF sys/table system
+ set sys/table.h i_systable
+ eval $inhdr
+
Index: mcon/U/d_keepsig.U
Prereq: 3.0
*** mcon/U/d_keepsig.U.old Sat Oct 16 14:56:46 1993
--- mcon/U/d_keepsig.U Sat Oct 16 14:56:46 1993
***************
*** 1,4 ****
! ?RCS: $Id: d_keepsig.U,v 3.0 1993/08/18 12:06:26 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: d_keepsig.U,v 3.0.1.1 1993/10/16 13:48:47 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: d_keepsig.U,v $
+ ?RCS: Revision 3.0.1.1 1993/10/16 13:48:47 ram
+ ?RCS: patch12: comment for SIGNALS_KEPT was the other way round
+ ?RCS:
?RCS: Revision 3.0 1993/08/18 12:06:26 ram
?RCS: Baseline for dist 3.0 netwide release.
?RCS:
***************
*** 20,26 ****
?S: after receipt of a signal.
?S:.
?C:SIGNALS_KEPT (PERSISTENT_SIGNAL):
! ?C: This symbol is defined if signal handlers must be reinstated after
?C: receipt of a signal.
?C:.
?H:#$d_keepsig SIGNALS_KEPT /**/
--- 23,29 ----
?S: after receipt of a signal.
?S:.
?C:SIGNALS_KEPT (PERSISTENT_SIGNAL):
! ?C: This symbol is defined if signal handlers needn't be reinstated after
?C: receipt of a signal.
?C:.
?H:#$d_keepsig SIGNALS_KEPT /**/
Index: mcon/U/d_table.U
*** mcon/U/d_table.U.old Sat Oct 16 14:56:48 1993
--- mcon/U/d_table.U Sat Oct 16 14:56:48 1993
***************
*** 0 ****
--- 1,31 ----
+ ?RCS: $Id: d_table.U,v 3.0.1.1 1993/10/16 13:49:29 ram Exp $
+ ?RCS:
+ ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
+ ?RCS:
+ ?RCS: You may redistribute only under the terms of the Artistic Licence,
+ ?RCS: as specified in the README file that comes with the distribution.
+ ?RCS: You may reuse parts of this distribution only within the terms of
+ ?RCS: that same Artistic Licence; a copy of which may be found at the root
+ ?RCS: of the source tree for dist 3.0.
+ ?RCS:
+ ?RCS: $Log: d_table.U,v $
+ ?RCS: Revision 3.0.1.1 1993/10/16 13:49:29 ram
+ ?RCS: patch12: created
+ ?RCS:
+ ?MAKE:d_table: Inlibc
+ ?MAKE: -pick add $@ %<
+ ?S:d_table:
+ ?S: This variable conditionally defines HAS_TABLE if table() is
+ ?S: available to examine/update elements from a system table.
+ ?S:.
+ ?C:HAS_TABLE (TABLE):
+ ?C: This symbol, if defined, indicates that the OSF/1 table() system
+ ?C: call is available to examine/update items from a system table.
+ ?C:.
+ ?H:#$d_table HAS_TABLE /**/
+ ?H:.
+ ?LINT:set d_table
+ : see if table exists
+ set table d_table
+ eval $inlibc
+
Index: mcon/U/d_vfork.U
Prereq: 3.0.1.1
*** mcon/U/d_vfork.U.old Sat Oct 16 14:56:49 1993
--- mcon/U/d_vfork.U Sat Oct 16 14:56:49 1993
***************
*** 1,4 ****
! ?RCS: $Id: d_vfork.U,v 3.0.1.1 1993/09/13 16:06:57 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: d_vfork.U,v 3.0.1.2 1993/10/16 13:49:39 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: d_vfork.U,v $
+ ?RCS: Revision 3.0.1.2 1993/10/16 13:49:39 ram
+ ?RCS: patch12: added magic for vfork()
+ ?RCS:
?RCS: Revision 3.0.1.1 1993/09/13 16:06:57 ram
?RCS: patch10: removed automatic remapping of vfork on fork (WAD)
?RCS: patch10: added compatibility code for older config.sh (WAD)
***************
*** 27,32 ****
--- 30,40 ----
?C:.
?H:#$d_vfork HAS_VFORK /**/
?H:.
+ ?M:vfork: HAS_VFORK
+ ?M:#ifndef HAS_VFORK
+ ?M:#define vfork fork
+ ?M:#endif
+ ?M:.
?LINT:set d_vfork
?X: TO BE REMOVED in dist 4.0
?X:==========================
Index: mcon/U/d_bcopy.U
Prereq: 3.0.1.1
*** mcon/U/d_bcopy.U.old Sat Oct 16 14:56:45 1993
--- mcon/U/d_bcopy.U Sat Oct 16 14:56:45 1993
***************
*** 1,4 ****
! ?RCS: $Id: d_bcopy.U,v 3.0.1.1 1993/09/13 16:01:11 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: d_bcopy.U,v 3.0.1.2 1993/10/16 13:48:04 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: d_bcopy.U,v $
+ ?RCS: Revision 3.0.1.2 1993/10/16 13:48:04 ram
+ ?RCS: patch12: added magic support for bcopy()
+ ?RCS:
?RCS: Revision 3.0.1.1 1993/09/13 16:01:11 ram
?RCS: patch10: now only defines HAS_BCOPY, no macro remap on memcpy (WAD)
?RCS:
***************
*** 27,32 ****
--- 30,42 ----
?C:.
?H:#$d_bcopy HAS_BCOPY /**/
?H:.
+ ?M:bcopy: HAS_BCOPY
+ ?M:#ifndef HAS_BCOPY
+ ?M:#ifndef bcopy
+ ?M:#define bcopy(s,d,l) memcpy((d),(s),(l))
+ ?M:#endif
+ ?M:#endif
+ ?M:.
?LINT:set d_bcopy
: see if bcopy exists
set bcopy d_bcopy
Index: mcon/U/d_bzero.U
Prereq: 3.0.1.1
*** mcon/U/d_bzero.U.old Sat Oct 16 14:56:45 1993
--- mcon/U/d_bzero.U Sat Oct 16 14:56:46 1993
***************
*** 1,4 ****
! ?RCS: $Id: d_bzero.U,v 3.0.1.1 1993/09/13 16:01:33 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: d_bzero.U,v 3.0.1.2 1993/10/16 13:48:15 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: d_bzero.U,v $
+ ?RCS: Revision 3.0.1.2 1993/10/16 13:48:15 ram
+ ?RCS: patch12: added magic support for bzero()
+ ?RCS:
?RCS: Revision 3.0.1.1 1993/09/13 16:01:33 ram
?RCS: patch10: now only defines HAS_BZERO, no macro remap on memset (WAD)
?RCS:
***************
*** 27,32 ****
--- 30,42 ----
?C:.
?H:#$d_bzero HAS_BZERO /**/
?H:.
+ ?M:bzero: HAS_BZERO
+ ?M:#ifndef HAS_BZERO
+ ?M:#ifndef bzero
+ ?M:#define bzero(s,l) memset((s),0,(l))
+ ?M:#endif
+ ?M:#endif
+ ?M:.
?LINT:set d_bzero
: see if bzero exists
set bzero d_bzero
Index: mcon/pl/init.pl
Prereq: 3.0
*** mcon/pl/init.pl.old Sat Oct 16 14:57:02 1993
--- mcon/pl/init.pl Sat Oct 16 14:57:02 1993
***************
*** 1,4 ****
! ;# $Id: init.pl,v 3.0 1993/08/18 12:10:24 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
--- 1,4 ----
! ;# $Id: init.pl,v 3.0.1.1 1993/10/16 13:55:06 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
***************
*** 9,14 ****
--- 9,17 ----
;# of the source tree for dist 3.0.
;#
;# $Log: init.pl,v $
+ ;# Revision 3.0.1.1 1993/10/16 13:55:06 ram
+ ;# patch12: now knows about ?M: lines
+ ;#
;# Revision 3.0 1993/08/18 12:10:24 ram
;# Baseline for dist 3.0 netwide release.
;#
***************
*** 29,34 ****
--- 32,38 ----
'H', 'p_config', # Process the config.h lines
'I', 'p_include', # Added includes
'L', 'p_library', # Added libraries
+ 'M', 'p_magic', # Process the confmagic.h lines
'O', 'p_obsolete', # Unit obsolescence
'P', 'p_public', # Location of PD implementation file
'S', 'p_shell', # Shell variables
Index: mcon/U/d_bcmp.U
Prereq: 3.0.1.1
*** mcon/U/d_bcmp.U.old Sat Oct 16 14:56:44 1993
--- mcon/U/d_bcmp.U Sat Oct 16 14:56:44 1993
***************
*** 1,4 ****
! ?RCS: $Id: d_bcmp.U,v 3.0.1.1 1993/09/13 16:00:44 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
--- 1,4 ----
! ?RCS: $Id: d_bcmp.U,v 3.0.1.2 1993/10/16 13:47:52 ram Exp $
?RCS:
?RCS: Copyright (c) 1991-1993, Raphael Manfredi
?RCS:
***************
*** 9,14 ****
--- 9,17 ----
?RCS: of the source tree for dist 3.0.
?RCS:
?RCS: $Log: d_bcmp.U,v $
+ ?RCS: Revision 3.0.1.2 1993/10/16 13:47:52 ram
+ ?RCS: patch12: added magic support for bcmp()
+ ?RCS:
?RCS: Revision 3.0.1.1 1993/09/13 16:00:44 ram
?RCS: patch10: now only defines HAS_BCMP, no macro remap on memcmp (WAD)
?RCS:
***************
*** 27,32 ****
--- 30,42 ----
?C:.
?H:#$d_bcmp HAS_BCMP /**/
?H:.
+ ?M:bcmp: HAS_BCMP
+ ?M:#ifndef HAS_BCMP
+ ?M:#ifndef bcmp
+ ?M:#define bcmp(s,d,l) memcmp((s),(d),(l))
+ ?M:#endif
+ ?M:#endif
+ ?M:.
?LINT:set d_bcmp
: see if bcmp exists
set bcmp d_bcmp
Index: mcon/pl/files.pl
Prereq: 3.0
*** mcon/pl/files.pl.old Sat Oct 16 14:57:01 1993
--- mcon/pl/files.pl Sat Oct 16 14:57:02 1993
***************
*** 1,4 ****
! ;# $Id: files.pl,v 3.0 1993/08/18 12:10:23 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
--- 1,4 ----
! ;# $Id: files.pl,v 3.0.1.1 1993/10/16 13:54:55 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
***************
*** 9,14 ****
--- 9,17 ----
;# of the source tree for dist 3.0.
;#
;# $Log: files.pl,v $
+ ;# Revision 3.0.1.1 1993/10/16 13:54:55 ram
+ ;# patch12: now skip confmagic.h when -M option is used
+ ;#
;# Revision 3.0 1993/08/18 12:10:23 ram
;# Baseline for dist 3.0 netwide release.
;#
***************
*** 28,33 ****
--- 31,37 ----
($file) = split(' ');
next if $file eq 'config_h.SH'; # skip config_h.SH
next if $file eq 'Configure'; # also skip Configure
+ next if $file eq 'confmagic.h' && $opt_M;
push(@SHlist,$file) if $file =~ /\.SH$/;
push(@clist,$file) if $file =~ /\.[chyl]$/;
}
Index: mcon/pl/xref.pl
Prereq: 3.0
*** mcon/pl/xref.pl.old Sat Oct 16 14:57:06 1993
--- mcon/pl/xref.pl Sat Oct 16 14:57:06 1993
***************
*** 1,4 ****
! ;# $Id: xref.pl,v 3.0 1993/08/18 12:10:31 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
--- 1,4 ----
! ;# $Id: xref.pl,v 3.0.1.1 1993/10/16 13:56:23 ram Exp $
;#
;# Copyright (c) 1991-1993, Raphael Manfredi
;#
***************
*** 9,14 ****
--- 9,17 ----
;# of the source tree for dist 3.0.
;#
;# $Log: xref.pl,v $
+ ;# Revision 3.0.1.1 1993/10/16 13:56:23 ram
+ ;# patch12: declared p_public for ?P: lines
+ ;#
;# Revision 3.0 1993/08/18 12:10:31 ram
;# Baseline for dist 3.0 netwide release.
;#
***************
*** 56,59 ****
--- 59,63 ----
sub p_default {}
sub p_library {}
sub p_include {}
+ sub p_public {}
*** End of Patch 13 ***
exit 0 # Just in case...