home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume39 / dist-3.0 / patch06 < prev    next >
Encoding:
Text File  |  1993-08-25  |  35.6 KB  |  1,309 lines

  1. Newsgroups: comp.sources.misc
  2. From: Raphael Manfredi <ram@acri.fr>
  3. Subject: v39i052:  dist-3.0 - Configure script generator and related tools, Patch06
  4. Message-ID: <1993Aug25.235525.23812@sparky.sterling.com>
  5. X-Md4-Signature: b1b17380715733c887d5451356556724
  6. Sender: kent@sparky.sterling.com (Kent Landfield)
  7. Organization: Advanced Computer Research Institute, Lyon, France
  8. Date: Wed, 25 Aug 1993 23:55:25 GMT
  9. Approved: kent@sparky.sterling.com
  10.  
  11. Submitted-by: Raphael Manfredi <ram@acri.fr>
  12. Posting-number: Volume 39, Issue 52
  13. Archive-name: dist-3.0/patch06
  14. Environment: UNIX, Perl, RCS
  15. Patch-To: dist-3.0: Volume 39, Issue 5-32
  16.  
  17. [The latest patch for dist version 3.0 is #6.]
  18.  
  19. System: dist version 3.0
  20. Patch #: 6
  21. Priority: MEDIUM
  22. Subject: split unit installation to avoid shell command line overflow
  23. Subject: added two people to the credits file
  24. Subject: added ldflags as a conditional dependency and to compile line
  25. Subject: a final double quote was missing in csym variable after eval
  26. Subject: added defaults for cppflags, ccflags and ldflags
  27. Subject: remove wrapper when not actually used
  28. Subject: created d_link.U for completeness
  29. Subject: added default for i_sysfile
  30. Subject: added default for i_sysselct
  31. Subject: added default for i_whoami
  32. Subject: added default for libs
  33. Subject: added default for large
  34. Subject: defines were referring to non-existent VOID symbol
  35. Subject: now correctly signals conditional dependencies with no default
  36. Subject: removal of patch temporary files did not work with gaps
  37. Subject: new -q option for patsend and patnotify
  38. Subject: moved geteditor to ../pl/editor.pl
  39. Subject: now asks for recipient list edition by default
  40. Subject: new -q option to suppress that
  41. Subject: three new files
  42. Date: Wed Aug 25 16:08:55 MET DST 1993
  43. From: Raphael Manfredi <ram@acri.fr>
  44.  
  45. Description:
  46.     Split unit installation to avoid shell command line overflow.
  47.     Apparently there were problems on Interactive Unix using their
  48.     own make.
  49.  
  50.     Added ldflags as a conditional dependency and to compile line in
  51.     Csym.U. Therefore, special flags given to Configure to find some
  52.     libraries are honored when looking for C symbols...
  53.  
  54.     A final double quote was missing in csym variable after eval.
  55.     That's weird, because none of the shells I used to test this
  56.     actually failed on that error, but nonetheless, it was missing.
  57.     Thanks to Keith Walker <kew@timesink.spk.wa.us> for his
  58.     perspicacity.
  59.  
  60.     Added defaults for cppflags, ccflags and ldflags, etc...
  61.     Those are the ?D: lines added to create a default value for
  62.     conditionally wanted symbols.
  63.  
  64.     Remove cppstdin wrapper when not actually used.
  65.  
  66.     Created d_link.U unit for completeness. All unix systems should
  67.     have link() anyway.
  68.  
  69.     Defines in prototype.U were referring to non-existent VOID symbol.
  70.     Again, thanks to Keith Walker <kew@timesink.spk.wa.us>.
  71.  
  72.     Metalint now correctly signals conditional dependencies with no
  73.     default. That's why I added all those ?D: lines, to shut up
  74.     metalint.
  75.  
  76.     Removal of patch temporary files in pat did not work when there
  77.     were gaps in numbering.
  78.  
  79.     Patsend and patnotify now ask for recipient list edition by default,
  80.     but there is a new -q option to prevent this from happening. The
  81.     reason here is to let people remove known-to-bounce addresses while
  82.     mailing a patch directly from patmake.
  83.  
  84.     Moved geteditor to ../pl/editor.pl for code factorization.
  85.  
  86.     Three new files created by this patch.
  87.  
  88.  
  89. Fix:    From rn, say "| patch -p -N -d DIR", where DIR is your dist source
  90.     directory.  Outside of rn, say "cd DIR; patch -p -N <thisarticle".
  91.     If you don't have the patch program, apply the following by hand,
  92.     or get patch (version 2.0, latest patchlevel).
  93.  
  94.     After patching:
  95.         Configure -ders
  96.         make
  97.         make install
  98.         make install.man
  99.  
  100.     If patch indicates that patchlevel is the wrong version, you may need
  101.     to apply one or more previous patches, or the patch may already
  102.     have been applied.  See the patchlevel.h file to find out what has or
  103.     has not been applied.  In any event, don't continue with the patch.
  104.  
  105.     If you are missing previous patches they can be obtained from me:
  106.  
  107.         Raphael Manfredi <ram@acri.fr>
  108.  
  109.     If you send a mail message of the following form it will greatly speed
  110.     processing:
  111.  
  112.         Subject: Command
  113.         @SH mailpatch PATH dist 3.0 LIST
  114.                ^ note the c
  115.  
  116.     where PATH is a return path FROM ME TO YOU either in Internet notation,
  117.     or in bang notation from some well-known host, and LIST is the number
  118.     of one or more patches you need, separated by spaces, commas, and/or
  119.     hyphens.  Saying 35- says everything from 35 to the end.
  120.  
  121.     To get some more detailed instructions, send me the following mail:
  122.  
  123.         Subject: Command
  124.         @SH mailhelp PATH
  125.  
  126.  
  127. Index: patchlevel.h
  128. Prereq: 5
  129. 4c4
  130. < #define PATCHLEVEL 5
  131. ---
  132. > #define PATCHLEVEL 6
  133.  
  134. Index: pat/patsend.SH
  135. Prereq: 3.0.1.3
  136. *** pat/patsend.SH.old    Wed Aug 25 16:08:50 1993
  137. --- pat/patsend.SH    Wed Aug 25 16:08:50 1993
  138. ***************
  139. *** 20,26 ****
  140.       eval "exec perl -S \$0 \$*"
  141.           if \$running_under_some_shell;
  142.   
  143. ! # $Id: patsend.SH,v 3.0.1.3 1993/08/24 12:21:59 ram Exp $
  144.   #
  145.   #  Copyright (c) 1991-1993, Raphael Manfredi
  146.   #  
  147. --- 20,26 ----
  148.       eval "exec perl -S \$0 \$*"
  149.           if \$running_under_some_shell;
  150.   
  151. ! # $Id: patsend.SH,v 3.0.1.4 1993/08/25 14:08:01 ram Exp $
  152.   #
  153.   #  Copyright (c) 1991-1993, Raphael Manfredi
  154.   #  
  155. ***************
  156. *** 33,38 ****
  157. --- 33,42 ----
  158.   # Original Author: Larry Wall <lwall@netlabs.com>
  159.   #
  160.   # $Log: patsend.SH,v $
  161. + # Revision 3.0.1.4  1993/08/25  14:08:01  ram
  162. + # patch6: now asks for recipient list edition by default
  163. + # patch6: new -q option to suppress that
  164. + #
  165.   # Revision 3.0.1.3  1993/08/24  12:21:59  ram
  166.   # patch3: new -u option
  167.   # patch3: added Precedence and X-Mailer headers in mail message
  168. ***************
  169. *** 56,62 ****
  170.   cat >>patsend <<'!NO!SUBS!'
  171.   
  172.   require 'getopts.pl';
  173. ! &usage unless &Getopts("huV");
  174.   
  175.   if ($opt_V) {
  176.       print STDERR "patsend $version PL$patchlevel\n";
  177. --- 60,66 ----
  178.   cat >>patsend <<'!NO!SUBS!'
  179.   
  180.   require 'getopts.pl';
  181. ! &usage unless &Getopts("hquV");
  182.   
  183.   if ($opt_V) {
  184.       print STDERR "patsend $version PL$patchlevel\n";
  185. ***************
  186. *** 83,91 ****
  187.   }
  188.   $dest = join(' ',@dest);
  189.   $dest .= " $recipients" if $opt_u;
  190. - $to = join(', ', split(' ', $dest));
  191.   &usage unless $dest;
  192.   
  193.   @ARGV = @argv;
  194.   
  195.   open(PL,"patchlevel.h") || die "Can't open patchlevel.h\n";
  196. --- 87,107 ----
  197.   }
  198.   $dest = join(' ',@dest);
  199.   $dest .= " $recipients" if $opt_u;
  200.   &usage unless $dest;
  201.   
  202. + # Offer to edit the address list unless -q
  203. + unless ($opt_q) {
  204. +     select((select(STDOUT), $| = 1)[0]);
  205. +     print "Do you wish to edit the address list? [y] ";
  206. +     $ans = <STDIN>;
  207. +     unless ($ans =~ /^n/i) {
  208. +         @to = split(' ', $dest);
  209. +         &listedit(*to);
  210. +         $dest = join(' ', @to);
  211. +     }
  212. + }
  213. + $to = join(', ', split(' ', $dest));
  214.   @ARGV = @argv;
  215.   
  216.   open(PL,"patchlevel.h") || die "Can't open patchlevel.h\n";
  217. ***************
  218. *** 145,154 ****
  219.   unlink ".xhead$$";
  220.   
  221.   sub usage {
  222. !     print STDERR "Usage: patsend [-huV] [patchlist] [recipients]\n";
  223. !     print STDERR "  -h : print this message and exit\n";
  224. !     print STDERR "  -u : add all to-be-mailed users\n";
  225. !     print STDERR "  -V : print version number and exit\n";
  226.       exit 1;
  227.   }
  228.   
  229. --- 161,173 ----
  230.   unlink ".xhead$$";
  231.   
  232.   sub usage {
  233. !     print STDERR <<EOM;
  234. ! Usage: patsend [-hquV] [patchlist] [recipients]
  235. !   -h : print this message and exit
  236. !   -q : quick mode, do not offer to edit recipient list
  237. !   -u : add all to-be-mailed users
  238. !   -V : print version number and exit
  239. ! EOM
  240.       exit 1;
  241.   }
  242.   
  243. ***************
  244. *** 158,162 ****
  245. --- 177,183 ----
  246.   $grep -v '^;#' ../pl/users.pl >>patsend
  247.   $grep -v '^;#' ../pl/patseq.pl >>patsend
  248.   $grep -v '^;#' ../pl/tilde.pl >>patsend
  249. + $grep -v '^;#' ../pl/editor.pl >>patsend
  250. + $grep -v '^;#' ../pl/listedit.pl >>patsend
  251.   chmod +x patsend
  252.   $eunicefix patsend
  253.  
  254. Index: pat/patnotify.SH
  255. Prereq: 3.0.1.2
  256. *** pat/patnotify.SH.old    Wed Aug 25 16:08:49 1993
  257. --- pat/patnotify.SH    Wed Aug 25 16:08:49 1993
  258. ***************
  259. *** 20,26 ****
  260.       eval "exec perl -S \$0 \$*"
  261.           if \$running_under_some_shell;
  262.   
  263. ! # $Id: patnotify.SH,v 3.0.1.2 1993/08/24 12:48:03 ram Exp $
  264.   #
  265.   #  Copyright (c) 1991-1993, Raphael Manfredi
  266.   #  
  267. --- 20,26 ----
  268.       eval "exec perl -S \$0 \$*"
  269.           if \$running_under_some_shell;
  270.   
  271. ! # $Id: patnotify.SH,v 3.0.1.3 1993/08/25 14:07:43 ram Exp $
  272.   #
  273.   #  Copyright (c) 1991-1993, Raphael Manfredi
  274.   #  
  275. ***************
  276. *** 31,36 ****
  277. --- 31,40 ----
  278.   #  of the source tree for dist 3.0.
  279.   #
  280.   # $Log: patnotify.SH,v $
  281. + # Revision 3.0.1.3  1993/08/25  14:07:43  ram
  282. + # patch6: now asks for recipient list edition by default
  283. + # patch6: new -q option to suppress that
  284. + #
  285.   # Revision 3.0.1.2  1993/08/24  12:48:03  ram
  286.   # patch5: fixed fatal typo in here document
  287.   #
  288. ***************
  289. *** 46,52 ****
  290.   cat >>patnotify <<'!NO!SUBS!'
  291.   
  292.   require 'getopts.pl';
  293. ! &usage unless &Getopts("huV");
  294.   
  295.   if ($opt_V) {
  296.       print STDERR "patnotify $version PL$patchlevel\n";
  297. --- 50,56 ----
  298.   cat >>patnotify <<'!NO!SUBS!'
  299.   
  300.   require 'getopts.pl';
  301. ! &usage unless &Getopts("hquV");
  302.   
  303.   if ($opt_V) {
  304.       print STDERR "patnotify $version PL$patchlevel\n";
  305. ***************
  306. *** 65,70 ****
  307. --- 69,86 ----
  308.   
  309.   &usage unless $dest;
  310.   
  311. + # Offer to edit the address list unless -q
  312. + unless ($opt_q) {
  313. +     select((select(STDOUT), $| = 1)[0]);
  314. +     print "Do you wish to edit the address list? [y] ";
  315. +     $ans = <STDIN>;
  316. +     unless ($ans =~ /^n/i) {
  317. +         @to = split(' ', $dest);
  318. +         &listedit(*to);
  319. +         $dest = join(' ', @to);
  320. +     }
  321. + }
  322.   if (-f 'patchlevel.h') {
  323.       open(PL,"patchlevel.h") || die "Can't open patchlevel.h\n";
  324.       while (<PL>) {
  325. ***************
  326. *** 131,138 ****
  327.   
  328.   sub usage {
  329.       print STDERR <<EOH;
  330. ! Usage: patnotify [-huV] [recipients]
  331.     -h : print this message and exit
  332.     -u : add all to-be-notified users
  333.     -V : print version number and exit
  334.   EOH
  335. --- 147,155 ----
  336.   
  337.   sub usage {
  338.       print STDERR <<EOH;
  339. ! Usage: patnotify [-hquV] [recipients]
  340.     -h : print this message and exit
  341. +   -q : quick mode, do not offer to edit recipient list
  342.     -u : add all to-be-notified users
  343.     -V : print version number and exit
  344.   EOH
  345. ***************
  346. *** 143,147 ****
  347. --- 160,166 ----
  348.   $grep -v '^;#' ../pl/package.pl >>patnotify
  349.   $grep -v '^;#' ../pl/users.pl >>patnotify
  350.   $grep -v '^;#' ../pl/patseq.pl >>patnotify
  351. + $grep -v '^;#' ../pl/editor.pl >>patsend
  352. + $grep -v '^;#' ../pl/listedit.pl >>patsend
  353.   chmod +x patnotify
  354.   $eunicefix patnotify
  355.  
  356. Index: mcon/Makefile.SH
  357. *** mcon/Makefile.SH.old    Wed Aug 25 16:08:34 1993
  358. --- mcon/Makefile.SH    Wed Aug 25 16:08:34 1993
  359. ***************
  360. *** 1,5 ****
  361. ! : Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.0 PL0]
  362. ! : $X-Id: Jmake.tmpl,v 3.0 1993/08/18 12:04:16 ram Exp ram $
  363.   
  364.   case $CONFIG in
  365.   '')
  366. --- 1,5 ----
  367. ! : Makefile.SH generated from Jmake.tmpl and Jmakefile [jmake 3.0 PL5]
  368. ! : $X-Id: Jmake.tmpl,v 3.0.1.1 1993/08/20 07:36:36 ram Exp ram $
  369.   
  370.   case $CONFIG in
  371.   '')
  372. ***************
  373. *** 56,62 ****
  374.   ########################################################################
  375.   # Start of Jmakefile
  376.   
  377. ! # $X-Id: Jmakefile,v 3.0 1993/08/18 12:04:40 ram Exp ram $
  378.   #
  379.   #  Copyright (c) 1991-1993, Raphael Manfredi
  380.   #  
  381. --- 56,62 ----
  382.   ########################################################################
  383.   # Start of Jmakefile
  384.   
  385. ! # $X-Id: Jmakefile,v 3.0.1.1 1993/08/25 08:46:44 ram Exp ram $
  386.   #
  387.   #  Copyright (c) 1991-1993, Raphael Manfredi
  388.   #  
  389. ***************
  390. *** 67,72 ****
  391. --- 67,75 ----
  392.   #  of the source tree for dist 3.0.
  393.   #
  394.   # $X-Log: Jmakefile,v $
  395. + # Revision 3.0.1.1  1993/08/25  08:46:44  ram
  396. + # patch6: split unit installation to avoid shell command line overflow
  397. + #
  398.   # Revision 3.0  1993/08/18  12:04:40  ram
  399.   # Baseline for dist 3.0 netwide release.
  400.   #
  401. ***************
  402. *** 110,124 ****
  403.   deinstall::
  404.       $(RM) $(PRIVLIB)/makegloss
  405.   
  406. ! install:: U/*.U
  407.       @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  408. !     for i in U/*.U; do \
  409.           (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/U); \
  410.       done
  411.   
  412.   deinstall::
  413.       @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  414. !     for i in U/*.U; do \
  415.           (set -x; $(RM) $(PRIVLIB)/U/$$i); \
  416.       done
  417.   
  418. --- 113,139 ----
  419.   deinstall::
  420.       $(RM) $(PRIVLIB)/makegloss
  421.   
  422. ! install:: U/[a-d]*.U
  423.       @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  424. !     for i in U/[a-d]*.U; do \
  425.           (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/U); \
  426.       done
  427.   
  428.   deinstall::
  429.       @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  430. !     for i in U/[a-d]*.U; do \
  431. !         (set -x; $(RM) $(PRIVLIB)/U/$$i); \
  432. !     done
  433. ! install:: U/[A-Ze-z]*.U
  434. !     @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  435. !     for i in U/[A-Ze-z]*.U; do \
  436. !         (set -x; $(INSTALL) -c -m 444 $$i $(PRIVLIB)/U); \
  437. !     done
  438. ! deinstall::
  439. !     @case '${MFLAGS}' in *[i]*) set +e;; esac; \
  440. !     for i in U/[A-Ze-z]*.U; do \
  441.           (set -x; $(RM) $(PRIVLIB)/U/$$i); \
  442.       done
  443.   
  444.  
  445. Index: mcon/pl/lint.pl
  446. Prereq: 3.0
  447. *** mcon/pl/lint.pl.old    Wed Aug 25 16:08:44 1993
  448. --- mcon/pl/lint.pl    Wed Aug 25 16:08:44 1993
  449. ***************
  450. *** 1,4 ****
  451. ! ;# $Id: lint.pl,v 3.0 1993/08/18 12:10:25 ram Exp $
  452.   ;#
  453.   ;#  Copyright (c) 1991-1993, Raphael Manfredi
  454.   ;#  
  455. --- 1,4 ----
  456. ! ;# $Id: lint.pl,v 3.0.1.1 1993/08/25 14:03:40 ram Exp $
  457.   ;#
  458.   ;#  Copyright (c) 1991-1993, Raphael Manfredi
  459.   ;#  
  460. ***************
  461. *** 9,14 ****
  462. --- 9,17 ----
  463.   ;#  of the source tree for dist 3.0.
  464.   ;#
  465.   ;# $Log: lint.pl,v $
  466. + ;# Revision 3.0.1.1  1993/08/25  14:03:40  ram
  467. + ;# patch6: now correctly signals conditional dependencies with no default
  468. + ;#
  469.   ;# Revision 3.0  1993/08/18  12:10:25  ram
  470.   ;# Baseline for dist 3.0 netwide release.
  471.   ;#
  472. ***************
  473. *** 34,39 ****
  474. --- 37,43 ----
  475.       %lintchange = ();            # Symbols declared changed by a ?LINT: line
  476.       %lintuse = ();                # Symbols declared used by unit
  477.       %lintextern = ();            # Symbols known to be externally defined
  478. +     %condsym = ();                # Records all the conditional symbols
  479.       %condseen = ();                # Records conditional dependencies
  480.       %depseen = ();                # Records full dependencies
  481.       %shvisible = ();            # Records units making a symbol visible
  482. ***************
  483. *** 96,101 ****
  484. --- 100,106 ----
  485.           if ($sym =~ /^\+[A-Za-z]/) {
  486.               $sym =~ s|^\+||;
  487.               ++$condseen{$sym};        # Conditional symbol wanted
  488. +             ++$condsym{$sym};        # %condsym has a greater lifetime
  489.           } else {
  490.               ++$depseen{$sym};        # Full dependency
  491.           }
  492. ***************
  493. *** 488,494 ****
  494.       local($w);
  495.       local(%message);        # Record messages on a per-unit basis
  496.       # Warn about symbols ever used in conditional dependency with no default
  497. !     while (($key, $value) = each(%condseen)) {
  498.           unless ($hasdefault{$key}) {
  499.               $w = (split(' ', $shmaster{"\$$key"}))[0];
  500.               $message{$w} .= "#$key ";
  501. --- 493,499 ----
  502.       local($w);
  503.       local(%message);        # Record messages on a per-unit basis
  504.       # Warn about symbols ever used in conditional dependency with no default
  505. !     while (($key, $value) = each(%condsym)) {
  506.           unless ($hasdefault{$key}) {
  507.               $w = (split(' ', $shmaster{"\$$key"}))[0];
  508.               $message{$w} .= "#$key ";
  509.  
  510. Index: mcon/U/Csym.U
  511. Prereq: 3.0
  512. *** mcon/U/Csym.U.old    Wed Aug 25 16:08:35 1993
  513. --- mcon/U/Csym.U    Wed Aug 25 16:08:35 1993
  514. ***************
  515. *** 1,4 ****
  516. ! ?RCS: $Id: Csym.U,v 3.0 1993/08/18 12:04:50 ram Exp $
  517.   ?RCS:
  518.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  519.   ?RCS: 
  520. --- 1,4 ----
  521. ! ?RCS: $Id: Csym.U,v 3.0.1.1 1993/08/25 14:00:05 ram Exp $
  522.   ?RCS:
  523.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  524.   ?RCS: 
  525. ***************
  526. *** 9,18 ****
  527.   ?RCS: of the source tree for dist 3.0.
  528.   ?RCS:
  529.   ?RCS: $Log: Csym.U,v $
  530.   ?RCS: Revision 3.0  1993/08/18  12:04:50  ram
  531.   ?RCS: Baseline for dist 3.0 netwide release.
  532.   ?RCS:
  533. ! ?MAKE:Csym: contains libc libs runnm +cc +ccflags rm
  534.   ?MAKE:    -pick add $@ %<
  535.   ?LINT:define csym
  536.   ?LINT:use libc
  537. --- 9,22 ----
  538.   ?RCS: of the source tree for dist 3.0.
  539.   ?RCS:
  540.   ?RCS: $Log: Csym.U,v $
  541. + ?RCS: Revision 3.0.1.1  1993/08/25  14:00:05  ram
  542. + ?RCS: patch6: added ldflags as a conditional dependency and to compile line
  543. + ?RCS: patch6: a final double quote was missing in csym variable after eval
  544. + ?RCS:
  545.   ?RCS: Revision 3.0  1993/08/18  12:04:50  ram
  546.   ?RCS: Baseline for dist 3.0 netwide release.
  547.   ?RCS:
  548. ! ?MAKE:Csym: contains libc libs runnm +cc +ccflags +ldflags rm
  549.   ?MAKE:    -pick add $@ %<
  550.   ?LINT:define csym
  551.   ?LINT:use libc
  552. ***************
  553. *** 51,57 ****
  554.       *)
  555.   ?X: put symbol inside a printf to fool optimizing compilers...
  556.           echo "main() { extern int $1$tdc; printf(\"%d\", $1$tc); }" > t.c;
  557. !         if $cc $ccflags -o t t.c $libs >/dev/null 2>&1;
  558.           then tval=true;
  559.           else tval=false;
  560.           fi;
  561. --- 55,61 ----
  562.       *)
  563.   ?X: put symbol inside a printf to fool optimizing compilers...
  564.           echo "main() { extern int $1$tdc; printf(\"%d\", $1$tc); }" > t.c;
  565. !         if $cc $ccflags -o t t.c $ldflags $libs >/dev/null 2>&1;
  566.           then tval=true;
  567.           else tval=false;
  568.           fi;
  569. ***************
  570. *** 63,67 ****
  571.       *) tval=false;;
  572.       esac;;
  573.   esac;
  574. ! eval "$2=$tval'
  575.   
  576. --- 67,71 ----
  577.       *) tval=false;;
  578.       esac;;
  579.   esac;
  580. ! eval "$2=$tval"'
  581.   
  582.  
  583. Index: pat/pat.man
  584. Prereq: 3.0.1.1
  585. *** pat/pat.man.old    Wed Aug 25 16:08:46 1993
  586. --- pat/pat.man    Wed Aug 25 16:08:47 1993
  587. ***************
  588. *** 1,5 ****
  589.   .rn '' }`
  590. ! ''' $Id: pat.man,v 3.0.1.1 1993/08/24 12:15:42 ram Exp $
  591.   '''
  592.   '''  Copyright (c) 1991-1993, Raphael Manfredi
  593.   '''  
  594. --- 1,5 ----
  595.   .rn '' }`
  596. ! ''' $Id: pat.man,v 3.0.1.2 1993/08/25 14:05:02 ram Exp $
  597.   '''
  598.   '''  Copyright (c) 1991-1993, Raphael Manfredi
  599.   '''  
  600. ***************
  601. *** 10,15 ****
  602. --- 10,18 ----
  603.   '''  of the source tree for dist 3.0.
  604.   '''
  605.   ''' $Log: pat.man,v $
  606. + ''' Revision 3.0.1.2  1993/08/25  14:05:02  ram
  607. + ''' patch6: new -q option for patsend and patnotify
  608. + '''
  609.   ''' Revision 3.0.1.1  1993/08/24  12:15:42  ram
  610.   ''' patch3: added patnotify and patsnap
  611.   ''' patch3: patcol has a new -S option
  612. ***************
  613. *** 90,96 ****
  614.   .br
  615.   .B patsend
  616.   [
  617. ! .B \-huV
  618.   ] [
  619.   .I patchlist
  620.   ] [
  621. --- 93,99 ----
  622.   .br
  623.   .B patsend
  624.   [
  625. ! .B \-hquV
  626.   ] [
  627.   .I patchlist
  628.   ] [
  629. ***************
  630. *** 99,105 ****
  631.   .br
  632.   .B patnotify
  633.   [
  634. ! .B \-huV
  635.   ] [
  636.   .I recipients
  637.   ]
  638. --- 102,108 ----
  639.   .br
  640.   .B patnotify
  641.   [
  642. ! .B \-hquV
  643.   ] [
  644.   .I recipients
  645.   ]
  646. ***************
  647. *** 303,308 ****
  648. --- 306,314 ----
  649.   they can retrieve it by themselves from an archive site or via e-mail if they
  650.   are interested. The \fB\-u\fR switch can be used to include all the currently
  651.   registered users who have asked for such a notification.
  652. + .PP
  653. + Both \fIpatsend\fR and \fIpatnotify\fR let you edit the address list before
  654. + actually sending anything, unless you add the \fB\-q\fR option.
  655.   .PP
  656.   .I Patname
  657.   can be used to tag a set of files with a symbolic name (specified with
  658.  
  659. Index: pat/pat.SH
  660. Prereq: 3.0.1.2
  661. *** pat/pat.SH.old    Wed Aug 25 16:08:45 1993
  662. --- pat/pat.SH    Wed Aug 25 16:08:45 1993
  663. ***************
  664. *** 20,26 ****
  665.       eval "exec perl -S \$0 \$*"
  666.           if \$running_under_some_shell;
  667.   
  668. ! # $Id: pat.SH,v 3.0.1.2 1993/08/24 12:14:39 ram Exp $
  669.   #
  670.   #  Copyright (c) 1991-1993, Raphael Manfredi
  671.   #  
  672. --- 20,26 ----
  673.       eval "exec perl -S \$0 \$*"
  674.           if \$running_under_some_shell;
  675.   
  676. ! # $Id: pat.SH,v 3.0.1.3 1993/08/25 14:04:35 ram Exp $
  677.   #
  678.   #  Copyright (c) 1991-1993, Raphael Manfredi
  679.   #  
  680. ***************
  681. *** 33,38 ****
  682. --- 33,41 ----
  683.   # Original Author: Larry Wall <lwall@netlabs.com>
  684.   #
  685.   # $Log: pat.SH,v $
  686. + # Revision 3.0.1.3  1993/08/25  14:04:35  ram
  687. + # patch6: removal of patch temporary files did not work with gaps
  688. + #
  689.   # Revision 3.0.1.2  1993/08/24  12:14:39  ram
  690.   # patch3: now removes older patch temporary files within bugs
  691.   #
  692. ***************
  693. *** 100,107 ****
  694.   
  695.   # Remove older patch temporary files
  696.   
  697. ! $cpat = $bnum - 1;
  698. ! $cpat-- while unlink <bugs/*.$cpat bugs/.logs$cpat bugs/.mods$cpat>;
  699.   
  700.   system 'perl', '-S', 'patcil', '-p', @ARGV;
  701.   
  702. --- 103,112 ----
  703.   
  704.   # Remove older patch temporary files
  705.   
  706. ! @patlist = &patseq($bnum - 1);
  707. ! foreach $cpat (@patlist) {
  708. !     unlink <bugs/*.$cpat bugs/.logs$cpat bugs/.mods$cpat>;
  709. ! }
  710.   
  711.   system 'perl', '-S', 'patcil', '-p', @ARGV;
  712.   
  713. ***************
  714. *** 129,133 ****
  715. --- 134,139 ----
  716.   !NO!SUBS!
  717.   $grep -v '^;#' ../pl/newer.pl >>pat
  718.   $grep -v '^;#' ../pl/package.pl >>pat
  719. + $grep -v '^;#' ../pl/patseq.pl >>pat
  720.   chmod +x pat
  721.   $eunicefix pat
  722.  
  723. Index: mcon/Jmakefile
  724. Prereq: 3.0
  725. *** mcon/Jmakefile.old    Wed Aug 25 16:08:33 1993
  726. --- mcon/Jmakefile    Wed Aug 25 16:08:33 1993
  727. ***************
  728. *** 2,8 ****
  729.    * Jmakefile for metaconfig
  730.    */
  731.   
  732. ! ;# $Id: Jmakefile,v 3.0 1993/08/18 12:04:40 ram Exp $
  733.   ;#
  734.   ;#  Copyright (c) 1991-1993, Raphael Manfredi
  735.   ;#  
  736. --- 2,8 ----
  737.    * Jmakefile for metaconfig
  738.    */
  739.   
  740. ! ;# $Id: Jmakefile,v 3.0.1.1 1993/08/25 08:46:44 ram Exp $
  741.   ;#
  742.   ;#  Copyright (c) 1991-1993, Raphael Manfredi
  743.   ;#  
  744. ***************
  745. *** 13,18 ****
  746. --- 13,21 ----
  747.   ;#  of the source tree for dist 3.0.
  748.   ;#
  749.   ;# $Log: Jmakefile,v $
  750. + ;# Revision 3.0.1.1  1993/08/25  08:46:44  ram
  751. + ;# patch6: split unit installation to avoid shell command line overflow
  752. + ;#
  753.   ;# Revision 3.0  1993/08/18  12:04:40  ram
  754.   ;# Baseline for dist 3.0 netwide release.
  755.   ;#
  756. ***************
  757. *** 32,38 ****
  758.   MakeInstallDirectories($(PRIVLIB) $(PRIVLIB)/U)
  759.   InstallNonExec(Glossary,$(PRIVLIB))
  760.   InstallScript(makegloss,$(PRIVLIB))
  761. ! InstallMultipleFlags(U/^^*.U,$(PRIVLIB)/U,-m 444)    /* Escape C comment */
  762.   
  763.   /*
  764.    * Build up dataloading versions of metalint, metaconfig and metaxref.
  765. --- 35,44 ----
  766.   MakeInstallDirectories($(PRIVLIB) $(PRIVLIB)/U)
  767.   InstallNonExec(Glossary,$(PRIVLIB))
  768.   InstallScript(makegloss,$(PRIVLIB))
  769. ! /* Split install list to avoid make overflow */
  770. ! InstallMultipleFlags(U/[a-d]*.U,$(PRIVLIB)/U,-m 444)
  771. ! InstallMultipleFlags(U/[A-Ze-z]*.U,$(PRIVLIB)/U,-m 444)
  772.   
  773.   /*
  774.    * Build up dataloading versions of metalint, metaconfig and metaxref.
  775.  
  776. Index: pat/patcil.SH
  777. Prereq: 3.0.1.1
  778. *** pat/patcil.SH.old    Wed Aug 25 16:08:47 1993
  779. --- pat/patcil.SH    Wed Aug 25 16:08:48 1993
  780. ***************
  781. *** 20,26 ****
  782.       eval "exec perl -i~ -S \$0 \$*"
  783.           if \$running_under_some_shell;
  784.   
  785. ! # $Id: patcil.SH,v 3.0.1.1 1993/08/19 06:42:33 ram Exp $
  786.   #
  787.   #  Copyright (c) 1991-1993, Raphael Manfredi
  788.   #  
  789. --- 20,26 ----
  790.       eval "exec perl -i~ -S \$0 \$*"
  791.           if \$running_under_some_shell;
  792.   
  793. ! # $Id: patcil.SH,v 3.0.1.2 1993/08/25 14:05:35 ram Exp $
  794.   #
  795.   #  Copyright (c) 1991-1993, Raphael Manfredi
  796.   #  
  797. ***************
  798. *** 33,38 ****
  799. --- 33,41 ----
  800.   # Original Author: Larry Wall <lwall@netlabs.com>
  801.   #
  802.   # $Log: patcil.SH,v $
  803. + # Revision 3.0.1.2  1993/08/25  14:05:35  ram
  804. + # patch6: moved geteditor to ../pl/editor.pl
  805. + #
  806.   # Revision 3.0.1.1  1993/08/19  06:42:33  ram
  807.   # patch1: leading config.sh searching was not aborting properly
  808.   #
  809. ***************
  810. *** 460,473 ****
  811.       $mess;            # Returned value
  812.   }
  813.   
  814. - sub geteditor {
  815. -     local($editor) = $ENV{'VISUAL'};
  816. -     $editor = $ENV{'EDITOR'} unless $editor;
  817. -     $editor = $defeditor unless $editor;
  818. -     $editor = 'vi' unless $editor;
  819. -     $editor;
  820. - }
  821.   sub edit {
  822.       $editor = &geteditor unless $editor;
  823.       local($text) = join("\n", @_);
  824. --- 463,468 ----
  825. ***************
  826. *** 499,503 ****
  827. --- 494,499 ----
  828.   $grep -v '^;#' ../pl/package.pl >>patcil
  829.   $grep -v '^;#' ../pl/rcsargs.pl >>patcil
  830.   $grep -v '^;#' ../pl/comment.pl >>patcil
  831. + $grep -v '^;#' ../pl/editor.pl >>patcil
  832.   chmod +x patcil
  833.   $eunicefix patcil
  834.  
  835. Index: mcon/U/prototype.U
  836. Prereq: 3.0
  837. *** mcon/U/prototype.U.old    Wed Aug 25 16:08:43 1993
  838. --- mcon/U/prototype.U    Wed Aug 25 16:08:43 1993
  839. ***************
  840. *** 1,4 ****
  841. ! ?RCS: $Id: prototype.U,v 3.0 1993/08/18 12:09:36 ram Exp $
  842.   ?RCS:
  843.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  844.   ?RCS: 
  845. --- 1,4 ----
  846. ! ?RCS: $Id: prototype.U,v 3.0.1.1 1993/08/25 14:03:12 ram Exp $
  847.   ?RCS:
  848.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  849.   ?RCS: 
  850. ***************
  851. *** 9,14 ****
  852. --- 9,17 ----
  853.   ?RCS: of the source tree for dist 3.0.
  854.   ?RCS:
  855.   ?RCS: $Log: prototype.U,v $
  856. + ?RCS: Revision 3.0.1.1  1993/08/25  14:03:12  ram
  857. + ?RCS: patch6: defines were referring to non-existent VOID symbol
  858. + ?RCS:
  859.   ?RCS: Revision 3.0  1993/08/18  12:09:36  ram
  860.   ?RCS: Baseline for dist 3.0 netwide release.
  861.   ?RCS:
  862. ***************
  863. *** 74,81 ****
  864.   ?H:?%<:#define    DOTS , ...
  865.   ?H:?%<:#define    V_FUNC(name, arglist, args)name(args)
  866.   ?H:?%<:#define    P_FUNC(name, arglist, args)static name(args)
  867. ! ?H:?%<:#define    V_FUNC_VOID(name)name(VOID)
  868. ! ?H:?%<:#define    P_FUNC_VOID(name)static name(VOID)
  869.   ?H:?%<:#define    _(args) args
  870.   ?H:?%<:#else
  871.   ?H:?%<:#define    NXT_ARG ;
  872. --- 77,84 ----
  873.   ?H:?%<:#define    DOTS , ...
  874.   ?H:?%<:#define    V_FUNC(name, arglist, args)name(args)
  875.   ?H:?%<:#define    P_FUNC(name, arglist, args)static name(args)
  876. ! ?H:?%<:#define    V_FUNC_VOID(name)name(void)
  877. ! ?H:?%<:#define    P_FUNC_VOID(name)static name(void)
  878.   ?H:?%<:#define    _(args) args
  879.   ?H:?%<:#else
  880.   ?H:?%<:#define    NXT_ARG ;
  881.  
  882. Index: mcon/U/d_link.U
  883. *** mcon/U/d_link.U.old    Wed Aug 25 16:08:37 1993
  884. --- mcon/U/d_link.U    Wed Aug 25 16:08:38 1993
  885. ***************
  886. *** 0 ****
  887. --- 1,31 ----
  888. + ?RCS: $Id: d_link.U,v 3.0.1.1 1993/08/25 14:01:13 ram Exp $
  889. + ?RCS:
  890. + ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  891. + ?RCS: 
  892. + ?RCS: You may redistribute only under the terms of the Artistic Licence,
  893. + ?RCS: as specified in the README file that comes with the distribution.
  894. + ?RCS: You may reuse parts of this distribution only within the terms of
  895. + ?RCS: that same Artistic Licence; a copy of which may be found at the root
  896. + ?RCS: of the source tree for dist 3.0.
  897. + ?RCS:
  898. + ?RCS: $Log: d_link.U,v $
  899. + ?RCS: Revision 3.0.1.1  1993/08/25  14:01:13  ram
  900. + ?RCS: patch6: created for completeness
  901. + ?RCS:
  902. + ?MAKE:d_link: Inlibc
  903. + ?MAKE:    -pick add $@ %<
  904. + ?S:d_link:
  905. + ?S:    This variable conditionally defines HAS_LINK if link() is
  906. + ?S:    available to create hard links.
  907. + ?S:.
  908. + ?C:HAS_LINK:
  909. + ?C:    This symbol, if defined, indicates that the link routine is
  910. + ?C:    available to create hard links.
  911. + ?C:.
  912. + ?H:#$d_link HAS_LINK    /**/
  913. + ?H:.
  914. + ?LINT:set d_link
  915. + : see if link exists
  916. + set link d_link
  917. + eval $inlibc
  918.  
  919. Index: MANIFEST
  920. *** MANIFEST.old    Wed Aug 25 16:08:53 1993
  921. --- MANIFEST    Wed Aug 25 16:08:53 1993
  922. ***************
  923. *** 164,169 ****
  924. --- 164,170 ----
  925.   mcon/U/d_itimer.U          Do we have setitimer()?
  926.   mcon/U/d_keepsig.U         Will signal handlers need to be rearmed?
  927.   mcon/U/d_killpg.U          Do we have killpg()?
  928. + mcon/U/d_link.U            Do we have link()?
  929.   mcon/U/d_lstat.U           Do we have lstat()?
  930.   mcon/U/d_mbstowcs.U        Do we have mbstowcs()?
  931.   mcon/U/d_mbtowc.U          Do we have mbtowc()?
  932. ***************
  933. *** 442,448 ****
  934. --- 443,451 ----
  935.   pl/                        Directory for public perl libraries
  936.   pl/comment.pl              Perl library to find comment in front of $Log
  937.   pl/copyright.pl            Perl library to expand copyright
  938. + pl/editor.pl               Perl library to compute suitable editor name
  939.   pl/fullname.pl             Perl library to get full name
  940. + pl/listedit.pl             Perl library to edit list of items
  941.   pl/logname.pl              Perl library to get login name
  942.   pl/makedir.pl              Perl library to emulate 'mkdir -p'
  943.   pl/manifake.pl             Perl library to build a MANIFEST.new if none found
  944.  
  945. Index: pl/listedit.pl
  946. *** pl/listedit.pl.old    Wed Aug 25 16:08:52 1993
  947. --- pl/listedit.pl    Wed Aug 25 16:08:52 1993
  948. ***************
  949. *** 0 ****
  950. --- 1,32 ----
  951. + ;# $Id: listedit.pl,v 3.0.1.1 1993/08/25 14:08:12 ram Exp $
  952. + ;#
  953. + ;#  Copyright (c) 1991-1993, Raphael Manfredi
  954. + ;#  
  955. + ;#  You may redistribute only under the terms of the Artistic Licence,
  956. + ;#  as specified in the README file that comes with the distribution.
  957. + ;#  You may reuse parts of this distribution only within the terms of
  958. + ;#  that same Artistic Licence; a copy of which may be found at the root
  959. + ;#  of the source tree for dist 3.0.
  960. + ;#
  961. + ;# $Log: listedit.pl,v $
  962. + ;# Revision 3.0.1.1  1993/08/25  14:08:12  ram
  963. + ;# patch6: created
  964. + ;#
  965. + ;#
  966. + ;# Requires geteditor.pl
  967. + # Allow user to inplace-edit a list of items held in an array
  968. + sub listedit {
  969. +     local(*list) = @_;
  970. +     local($tmp) = "/tmp/dist.$$";
  971. +     local($editor) = &geteditor;
  972. +     open(TMP, ">$tmp") || die "Can't create $tmp: $!\n";
  973. +     foreach $item (@list) {
  974. +         print TMP $item, "\n";
  975. +     }
  976. +     close TMP;
  977. +     system "$editor $tmp";
  978. +     open(TMP, "$tmp") || die "Can't reopen $tmp: $!\n";
  979. +     chop(@list = <TMP>);
  980. +     close TMP;
  981. + }
  982.  
  983. Index: mcon/U/ccflags.U
  984. Prereq: 3.0
  985. *** mcon/U/ccflags.U.old    Wed Aug 25 16:08:36 1993
  986. --- mcon/U/ccflags.U    Wed Aug 25 16:08:36 1993
  987. ***************
  988. *** 1,4 ****
  989. ! ?RCS: $Id: ccflags.U,v 3.0 1993/08/18 12:05:31 ram Exp $
  990.   ?RCS:
  991.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  992.   ?RCS: 
  993. --- 1,4 ----
  994. ! ?RCS: $Id: ccflags.U,v 3.0.1.1 1993/08/25 14:00:24 ram Exp $
  995.   ?RCS:
  996.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  997.   ?RCS: 
  998. ***************
  999. *** 9,14 ****
  1000. --- 9,17 ----
  1001.   ?RCS: of the source tree for dist 3.0.
  1002.   ?RCS:
  1003.   ?RCS: $Log: ccflags.U,v $
  1004. + ?RCS: Revision 3.0.1.1  1993/08/25  14:00:24  ram
  1005. + ?RCS: patch6: added defaults for cppflags, ccflags and ldflags
  1006. + ?RCS:
  1007.   ?RCS: Revision 3.0  1993/08/18  12:05:31  ram
  1008.   ?RCS: Baseline for dist 3.0 netwide release.
  1009.   ?RCS:
  1010. ***************
  1011. *** 36,41 ****
  1012. --- 39,47 ----
  1013.   ?S:    the user.  It is up to the Makefile to use this.
  1014.   ?S:.
  1015.   ?T:inctest thisincl xxx flag inclwanted tans
  1016. + ?D:cppflags=''
  1017. + ?D:ccflags=''
  1018. + ?D:ldflags=''
  1019.   ?INIT:: no include file wanted by default
  1020.   ?INIT:inclwanted=''
  1021.   ?INIT:
  1022.  
  1023. Index: mcon/U/i_sysselct.U
  1024. Prereq: 3.0
  1025. *** mcon/U/i_sysselct.U.old    Wed Aug 25 16:08:39 1993
  1026. --- mcon/U/i_sysselct.U    Wed Aug 25 16:08:39 1993
  1027. ***************
  1028. *** 1,4 ****
  1029. ! ?RCS: $Id: i_sysselct.U,v 3.0 1993/08/18 12:08:35 ram Exp $
  1030.   ?RCS:
  1031.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1032.   ?RCS: 
  1033. --- 1,4 ----
  1034. ! ?RCS: $Id: i_sysselct.U,v 3.0.1.1 1993/08/25 14:01:33 ram Exp $
  1035.   ?RCS:
  1036.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1037.   ?RCS: 
  1038. ***************
  1039. *** 9,14 ****
  1040. --- 9,17 ----
  1041.   ?RCS: of the source tree for dist 3.0.
  1042.   ?RCS:
  1043.   ?RCS: $Log: i_sysselct.U,v $
  1044. + ?RCS: Revision 3.0.1.1  1993/08/25  14:01:33  ram
  1045. + ?RCS: patch6: added default for i_sysselct
  1046. + ?RCS:
  1047.   ?RCS: Revision 3.0  1993/08/18  12:08:35  ram
  1048.   ?RCS: Baseline for dist 3.0 netwide release.
  1049.   ?RCS:
  1050. ***************
  1051. *** 28,33 ****
  1052. --- 31,37 ----
  1053.   ?C:.
  1054.   ?H:#$i_sysselct I_SYS_SELECT    /**/
  1055.   ?H:.
  1056. + ?D:i_sysselct=''
  1057.   ?LINT:set i_sysselct
  1058.   : see if sys/select.h has to be included
  1059.   set sys/select.h i_sysselct
  1060.  
  1061. Index: mcon/U/libs.U
  1062. Prereq: 3.0
  1063. *** mcon/U/libs.U.old    Wed Aug 25 16:08:41 1993
  1064. --- mcon/U/libs.U    Wed Aug 25 16:08:41 1993
  1065. ***************
  1066. *** 1,4 ****
  1067. ! ?RCS: $Id: libs.U,v 3.0 1993/08/18 12:09:03 ram Exp $
  1068.   ?RCS:
  1069.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1070.   ?RCS: 
  1071. --- 1,4 ----
  1072. ! ?RCS: $Id: libs.U,v 3.0.1.1 1993/08/25 14:02:31 ram Exp $
  1073.   ?RCS:
  1074.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1075.   ?RCS: 
  1076. ***************
  1077. *** 9,14 ****
  1078. --- 9,17 ----
  1079.   ?RCS: of the source tree for dist 3.0.
  1080.   ?RCS:
  1081.   ?RCS: $Log: libs.U,v $
  1082. + ?RCS: Revision 3.0.1.1  1993/08/25  14:02:31  ram
  1083. + ?RCS: patch6: added default for libs
  1084. + ?RCS:
  1085.   ?RCS: Revision 3.0  1993/08/18  12:09:03  ram
  1086.   ?RCS: Baseline for dist 3.0 netwide release.
  1087.   ?RCS:
  1088. ***************
  1089. *** 19,24 ****
  1090. --- 22,28 ----
  1091.   ?S: It is up to the Makefile to deal with it.
  1092.   ?S:.
  1093.   ?T:xxx yyy thislib thatlib libswanted
  1094. + ?D:libs=''
  1095.   ?INIT:: no additional library wanted by default
  1096.   ?INIT:libswanted=''
  1097.   ?INIT:
  1098.  
  1099. Index: mcon/U/i_sysfile.U
  1100. Prereq: 3.0
  1101. *** mcon/U/i_sysfile.U.old    Wed Aug 25 16:08:38 1993
  1102. --- mcon/U/i_sysfile.U    Wed Aug 25 16:08:38 1993
  1103. ***************
  1104. *** 1,4 ****
  1105. ! ?RCS: $Id: i_sysfile.U,v 3.0 1993/08/18 12:08:31 ram Exp $
  1106.   ?RCS:
  1107.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1108.   ?RCS: 
  1109. --- 1,4 ----
  1110. ! ?RCS: $Id: i_sysfile.U,v 3.0.1.1 1993/08/25 14:01:23 ram Exp $
  1111.   ?RCS:
  1112.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1113.   ?RCS: 
  1114. ***************
  1115. *** 9,14 ****
  1116. --- 9,17 ----
  1117.   ?RCS: of the source tree for dist 3.0.
  1118.   ?RCS:
  1119.   ?RCS: $Log: i_sysfile.U,v $
  1120. + ?RCS: Revision 3.0.1.1  1993/08/25  14:01:23  ram
  1121. + ?RCS: patch6: added default for i_sysfile
  1122. + ?RCS:
  1123.   ?RCS: Revision 3.0  1993/08/18  12:08:31  ram
  1124.   ?RCS: Baseline for dist 3.0 netwide release.
  1125.   ?RCS:
  1126. ***************
  1127. *** 25,30 ****
  1128. --- 28,34 ----
  1129.   ?H:#$i_sysfile I_SYS_FILE        /**/
  1130.   ?H:.
  1131.   ?T:val
  1132. + ?D:i_sysfile=''
  1133.   ?LINT:set i_sysfile
  1134.   ?LINT:change h_sysfile
  1135.   : see if this is a sys/file.h system
  1136.  
  1137. Index: mcon/U/models.U
  1138. Prereq: 3.0
  1139. *** mcon/U/models.U.old    Wed Aug 25 16:08:42 1993
  1140. --- mcon/U/models.U    Wed Aug 25 16:08:42 1993
  1141. ***************
  1142. *** 1,4 ****
  1143. ! ?RCS: $Id: models.U,v 3.0 1993/08/18 12:09:17 ram Exp $
  1144.   ?RCS:
  1145.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1146.   ?RCS: 
  1147. --- 1,4 ----
  1148. ! ?RCS: $Id: models.U,v 3.0.1.1 1993/08/25 14:02:39 ram Exp $
  1149.   ?RCS:
  1150.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1151.   ?RCS: 
  1152. ***************
  1153. *** 9,14 ****
  1154. --- 9,17 ----
  1155.   ?RCS: of the source tree for dist 3.0.
  1156.   ?RCS:
  1157.   ?RCS: $Log: models.U,v $
  1158. + ?RCS: Revision 3.0.1.1  1993/08/25  14:02:39  ram
  1159. + ?RCS: patch6: added default for large
  1160. + ?RCS:
  1161.   ?RCS: Revision 3.0  1993/08/18  12:09:17  ram
  1162.   ?RCS: Baseline for dist 3.0 netwide release.
  1163.   ?RCS:
  1164. ***************
  1165. *** 49,54 ****
  1166. --- 52,58 ----
  1167.   ?S:    model programs.  It is up to the Makefile to use this.
  1168.   ?S:.
  1169.   ?T:unsplit tans
  1170. + ?D:large=''
  1171.   : see what memory models we can support
  1172.   case "$models" in
  1173.   '')
  1174.  
  1175. Index: mcon/U/i_whoami.U
  1176. Prereq: 3.0
  1177. *** mcon/U/i_whoami.U.old    Wed Aug 25 16:08:40 1993
  1178. --- mcon/U/i_whoami.U    Wed Aug 25 16:08:40 1993
  1179. ***************
  1180. *** 1,4 ****
  1181. ! ?RCS: $Id: i_whoami.U,v 3.0 1993/08/18 12:08:50 ram Exp $
  1182.   ?RCS:
  1183.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1184.   ?RCS: 
  1185. --- 1,4 ----
  1186. ! ?RCS: $Id: i_whoami.U,v 3.0.1.1 1993/08/25 14:02:21 ram Exp $
  1187.   ?RCS:
  1188.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1189.   ?RCS: 
  1190. ***************
  1191. *** 9,14 ****
  1192. --- 9,17 ----
  1193.   ?RCS: of the source tree for dist 3.0.
  1194.   ?RCS:
  1195.   ?RCS: $Log: i_whoami.U,v $
  1196. + ?RCS: Revision 3.0.1.1  1993/08/25  14:02:21  ram
  1197. + ?RCS: patch6: added default for i_whoami
  1198. + ?RCS:
  1199.   ?RCS: Revision 3.0  1993/08/18  12:08:50  ram
  1200.   ?RCS: Baseline for dist 3.0 netwide release.
  1201.   ?RCS:
  1202. ***************
  1203. *** 24,29 ****
  1204. --- 27,33 ----
  1205.   ?C:.
  1206.   ?H:#$i_whoami I_WHOAMI    /**/
  1207.   ?H:.
  1208. + ?D:i_whoami=''
  1209.   ?LINT:set i_whoami
  1210.   : see if there is a whoami.h file
  1211.   set whoami.h i_whoami
  1212.  
  1213. Index: mcon/U/cppstdin.U
  1214. Prereq: 3.0
  1215. *** mcon/U/cppstdin.U.old    Wed Aug 25 16:08:37 1993
  1216. --- mcon/U/cppstdin.U    Wed Aug 25 16:08:37 1993
  1217. ***************
  1218. *** 1,4 ****
  1219. ! ?RCS: $Id: cppstdin.U,v 3.0 1993/08/18 12:05:38 ram Exp $
  1220.   ?RCS:
  1221.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1222.   ?RCS: 
  1223. --- 1,4 ----
  1224. ! ?RCS: $Id: cppstdin.U,v 3.0.1.1 1993/08/25 14:00:53 ram Exp $
  1225.   ?RCS:
  1226.   ?RCS: Copyright (c) 1991-1993, Raphael Manfredi
  1227.   ?RCS: 
  1228. ***************
  1229. *** 9,14 ****
  1230. --- 9,17 ----
  1231.   ?RCS: of the source tree for dist 3.0.
  1232.   ?RCS:
  1233.   ?RCS: $Log: cppstdin.U,v $
  1234. + ?RCS: Revision 3.0.1.1  1993/08/25  14:00:53  ram
  1235. + ?RCS: patch6: remove wrapper when not actually used
  1236. + ?RCS:
  1237.   ?RCS: Revision 3.0  1993/08/18  12:05:38  ram
  1238.   ?RCS: Baseline for dist 3.0 netwide release.
  1239.   ?RCS:
  1240. ***************
  1241. *** 120,124 ****
  1242. --- 123,131 ----
  1243.           exit 1
  1244.       fi
  1245.   fi
  1246. + case "$cppstdin" in
  1247. + "$wrapper") ;;
  1248. + *) $rm -f $wrapper;;
  1249. + esac
  1250.   $rm -f testcpp.c testcpp.out
  1251.   
  1252.  
  1253. Index: pl/editor.pl
  1254. *** pl/editor.pl.old    Wed Aug 25 16:08:51 1993
  1255. --- pl/editor.pl    Wed Aug 25 16:08:51 1993
  1256. ***************
  1257. *** 0 ****
  1258. --- 1,23 ----
  1259. + ;# $Id: editor.pl,v 3.0.1.1 1993/08/25 14:08:07 ram Exp $
  1260. + ;#
  1261. + ;#  Copyright (c) 1991-1993, Raphael Manfredi
  1262. + ;#  
  1263. + ;#  You may redistribute only under the terms of the Artistic Licence,
  1264. + ;#  as specified in the README file that comes with the distribution.
  1265. + ;#  You may reuse parts of this distribution only within the terms of
  1266. + ;#  that same Artistic Licence; a copy of which may be found at the root
  1267. + ;#  of the source tree for dist 3.0.
  1268. + ;#
  1269. + ;# $Log: editor.pl,v $
  1270. + ;# Revision 3.0.1.1  1993/08/25  14:08:07  ram
  1271. + ;# patch6: created
  1272. + ;#
  1273. + # Compute suitable editor name
  1274. + sub geteditor {
  1275. +     local($editor) = $ENV{'VISUAL'};
  1276. +     $editor = $ENV{'EDITOR'} unless $editor;
  1277. +     $editor = $defeditor unless $editor;
  1278. +     $editor = 'vi' unless $editor;
  1279. +     $editor;
  1280. + }
  1281.  
  1282. Index: Credits
  1283. *** Credits.old    Wed Aug 25 16:08:32 1993
  1284. --- Credits    Wed Aug 25 16:08:32 1993
  1285. ***************
  1286. *** 83,88 ****
  1287. --- 83,90 ----
  1288.   I'm grateful to the following people for sending me patches and/or reporting
  1289.   bugs and giving me some suggestions (sorted on the first name):
  1290.   
  1291. +     Andy Dougherty <andy@crystal.phys.lafayette.edu>
  1292.       Graham Stoney <greyham@research.canon.oz.au>
  1293.       Joseph H Buehler <jhpb@sarto.gaithersburg.md.us>
  1294. +     Keith Walker <kew@timesink.spk.wa.us>
  1295.   
  1296.  
  1297. *** End of Patch 6 ***
  1298.  
  1299. exit 0 # Just in case...
  1300.