aboutsummaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libuucp
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-08-19 21:30:30 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-08-19 21:30:30 +0000
commit6ec4b3339bbd81ee311eb50fe25a13676e2a02a7 (patch)
treee1ea6a3b65e0f2e9f5d6e0f0f3956a82ada4b85b /gnu/libexec/uucp/libuucp
parentea76f9453e3fc27708741a121e0757ba0c87bd05 (diff)
Notes
Diffstat (limited to 'gnu/libexec/uucp/libuucp')
-rw-r--r--gnu/libexec/uucp/libuucp/MANIFEST89
-rw-r--r--gnu/libexec/uucp/libuucp/bsrch.c4
-rw-r--r--gnu/libexec/uucp/libuucp/buffer.c4
-rw-r--r--gnu/libexec/uucp/libuucp/crc.c12
-rw-r--r--gnu/libexec/uucp/libuucp/debug.c10
-rw-r--r--gnu/libexec/uucp/libuucp/escape.c2
-rw-r--r--gnu/libexec/uucp/libuucp/getlin.c4
-rw-r--r--gnu/libexec/uucp/libuucp/getop1.c8
-rw-r--r--gnu/libexec/uucp/libuucp/getopt.c8
-rw-r--r--gnu/libexec/uucp/libuucp/memchr.c12
-rw-r--r--gnu/libexec/uucp/libuucp/parse.c12
-rw-r--r--gnu/libexec/uucp/libuucp/strstr.c4
-rw-r--r--gnu/libexec/uucp/libuucp/strtol.c4
-rw-r--r--gnu/libexec/uucp/libuucp/strtou.c4
14 files changed, 108 insertions, 69 deletions
diff --git a/gnu/libexec/uucp/libuucp/MANIFEST b/gnu/libexec/uucp/libuucp/MANIFEST
index 4fe9c3b318e0..909eb679c328 100644
--- a/gnu/libexec/uucp/libuucp/MANIFEST
+++ b/gnu/libexec/uucp/libuucp/MANIFEST
@@ -1,28 +1,63 @@
-Makefile.in
+COPYING
+ChangeLog
MANIFEST
-bsrch.c
-buffer.c
-bzero.c
-crc.c
-debug.c
-escape.c
-getlin.c
-getopt.c
-getop1.c
-memchr.c
-memcmp.c
-memcpy.c
-parse.c
-spool.c
-status.c
-strcas.c
-strchr.c
-strdup.c
-strncs.c
-strrch.c
-strstr.c
-strtol.c
-strtou.c
-xfree.c
-xmall.c
-xreall.c
+Makefile.in
+NEWS
+README
+TODO
+chat.c
+config.h.in
+configure
+configure.in
+conn.c
+conn.h
+copy.c
+cu.1
+cu.c
+cu.h
+getopt.h
+install-sh
+log.c
+policy.h
+prot.c
+prot.h
+prote.c
+protf.c
+protg.c
+proti.c
+protj.c
+prott.c
+proty.c
+protz.c
+rec.c
+send.c
+sysh.unx
+system.h
+time.c
+trans.c
+trans.h
+tstuu.c
+util.c
+uuchk.c
+uucico.8
+uucico.c
+uuconf.h
+uuconv.c
+uucp.1
+uucp.c
+uucp.h
+uucp.texi
+uudefs.h
+uudir.c
+uulog.c
+uuname.c
+uupick.c
+uusched.in
+uustat.1
+uustat.c
+uuto.in
+uux.1
+uux.c
+uuxqt.8
+uuxqt.c
+xcmd.c
diff --git a/gnu/libexec/uucp/libuucp/bsrch.c b/gnu/libexec/uucp/libuucp/bsrch.c
index 3b1a61c170c4..58b8710cbf6d 100644
--- a/gnu/libexec/uucp/libuucp/bsrch.c
+++ b/gnu/libexec/uucp/libuucp/bsrch.c
@@ -13,8 +13,8 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.
+not, write to the Free Software Foundation, Inc., 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, May 1992, for
Taylor UUCP. */
diff --git a/gnu/libexec/uucp/libuucp/buffer.c b/gnu/libexec/uucp/libuucp/buffer.c
index 8ddb2219cf4f..e33b282aea0f 100644
--- a/gnu/libexec/uucp/libuucp/buffer.c
+++ b/gnu/libexec/uucp/libuucp/buffer.c
@@ -17,10 +17,10 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The author of the program may be contacted at ian@airs.com or
- c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139.
+ c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
*/
#include "uucp.h"
diff --git a/gnu/libexec/uucp/libuucp/crc.c b/gnu/libexec/uucp/libuucp/crc.c
index 323adcb1408c..fc9687b57cf8 100644
--- a/gnu/libexec/uucp/libuucp/crc.c
+++ b/gnu/libexec/uucp/libuucp/crc.c
@@ -78,14 +78,14 @@ static const unsigned long aicrc32tab[] = { /* CRC polynomial 0xedb88320 */
};
/*
- * IUPDC32 macro derived from article Copyright (C) 1986 Stephen Satchell.
+ * IUPDC32 macro derived from article Copyright (C) 1986 Stephen Satchell.
* NOTE: First argument must be in range 0 to 255.
* Second argument is referenced twice.
- *
- * Programmers may incorporate any or all code into their programs,
- * giving proper credit within the source. Publication of the
- * source routines is permitted so long as proper credit is given
- * to Stephen Satchell, Satchell Evaluations and Chuck Forsberg,
+ *
+ * Programmers may incorporate any or all code into their programs,
+ * giving proper credit within the source. Publication of the
+ * source routines is permitted so long as proper credit is given
+ * to Stephen Satchell, Satchell Evaluations and Chuck Forsberg,
* Omen Technology.
*/
diff --git a/gnu/libexec/uucp/libuucp/debug.c b/gnu/libexec/uucp/libuucp/debug.c
index e722e2ce8de9..6ae30632ad02 100644
--- a/gnu/libexec/uucp/libuucp/debug.c
+++ b/gnu/libexec/uucp/libuucp/debug.c
@@ -17,10 +17,10 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The author of the program may be contacted at ian@airs.com or
- c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139.
+ c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
*/
#include "uucp.h"
@@ -137,7 +137,9 @@ cdebug_char (z, ichar)
*z++ = b;
*z = '\0';
return 2;
-}
+}
+
+#if DEBUG > 1
/* Display a buffer when debugging. */
@@ -167,3 +169,5 @@ udebug_buffer (zhdr, zbuf, clen)
ubuffree (zalc);
}
+
+#endif
diff --git a/gnu/libexec/uucp/libuucp/escape.c b/gnu/libexec/uucp/libuucp/escape.c
index 261accb513df..646b787d6e43 100644
--- a/gnu/libexec/uucp/libuucp/escape.c
+++ b/gnu/libexec/uucp/libuucp/escape.c
@@ -12,7 +12,7 @@ cescape (z)
char *z;
{
char *zto, *zfrom;
-
+
zto = z;
zfrom = z;
while (*zfrom != '\0')
diff --git a/gnu/libexec/uucp/libuucp/getlin.c b/gnu/libexec/uucp/libuucp/getlin.c
index 983da7d18751..822bc1c851c3 100644
--- a/gnu/libexec/uucp/libuucp/getlin.c
+++ b/gnu/libexec/uucp/libuucp/getlin.c
@@ -17,10 +17,10 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The author of the program may be contacted at ian@airs.com or
- c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139.
+ c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
*/
#include "uucp.h"
diff --git a/gnu/libexec/uucp/libuucp/getop1.c b/gnu/libexec/uucp/libuucp/getop1.c
index 41b9bb47b032..c7c738377764 100644
--- a/gnu/libexec/uucp/libuucp/getop1.c
+++ b/gnu/libexec/uucp/libuucp/getop1.c
@@ -5,15 +5,15 @@
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, June 1992, for
Taylor UUCP. */
@@ -38,7 +38,7 @@ getopt_long (argc, argv, options, long_options, opt_index)
but does match a short option, it is parsed as a short option
instead. */
-int
+int
getopt_long_only (argc, argv, options, long_options, opt_index)
int argc;
char *const *argv;
diff --git a/gnu/libexec/uucp/libuucp/getopt.c b/gnu/libexec/uucp/libuucp/getopt.c
index 8c35f8468650..eed7d8e5b8ac 100644
--- a/gnu/libexec/uucp/libuucp/getopt.c
+++ b/gnu/libexec/uucp/libuucp/getopt.c
@@ -9,15 +9,15 @@
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, June 1992, for
Taylor UUCP. */
@@ -488,7 +488,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
{
if (c < 040 || c >= 0177)
fprintf (stderr, "%s: unrecognized option, character code 0%o\n",
- argv[0], (unsigned int) c);
+ argv[0], BUCHAR (c));
else
fprintf (stderr, "%s: unrecognized option `-%c'\n", argv[0], c);
}
diff --git a/gnu/libexec/uucp/libuucp/memchr.c b/gnu/libexec/uucp/libuucp/memchr.c
index fd6eb8335793..c74315421424 100644
--- a/gnu/libexec/uucp/libuucp/memchr.c
+++ b/gnu/libexec/uucp/libuucp/memchr.c
@@ -17,8 +17,8 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.
+not, write to the Free Software Foundation, Inc., 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, May 1992, for
Taylor UUCP. It assumes 32 bit longs. I'm willing to trust that any
@@ -53,9 +53,9 @@ memchr (s, c, n)
/* Bits 31, 24, 16, and 8 of this number are zero. Call these bits
the "holes." Note that there is a hole just to the left of
each byte, with an extra at the end:
-
+
bits: 01111110 11111110 11111110 11111111
- bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD
+ bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD
The 1-bits make sure that carries propagate to the next 0-bit.
The 0-bits provide holes for carries to fall into. */
@@ -108,10 +108,10 @@ memchr (s, c, n)
/* Add MAGIC_BITS to LONGWORD. */
if ((((longword + magic_bits)
-
+
/* Set those bits that were unchanged by the addition. */
^ ~longword)
-
+
/* Look at only the hole bits. If any of the hole bits
are unchanged, most likely one of the bytes was a
zero. */
diff --git a/gnu/libexec/uucp/libuucp/parse.c b/gnu/libexec/uucp/libuucp/parse.c
index d829fa92b79e..da724fc6a298 100644
--- a/gnu/libexec/uucp/libuucp/parse.c
+++ b/gnu/libexec/uucp/libuucp/parse.c
@@ -17,16 +17,16 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The author of the program may be contacted at ian@airs.com or
- c/o Cygnus Support, Building 200, 1 Kendall Square, Cambridge, MA 02139.
+ c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
*/
#include "uucp.h"
#if USE_RCS_ID
-const char parse_rcsid[] = "$Id: parse.c,v 1.2 1994/05/07 18:13:33 ache Exp $";
+const char parse_rcsid[] = "$Id: parse.c,v 1.8 1995/06/21 19:18:35 ian Rel $";
#endif
#include "uudefs.h"
@@ -104,7 +104,7 @@ fparse_cmd (zcmd, qcmd)
if (z == NULL)
return FALSE;
qcmd->zto = z;
-
+
z = strtok ((char *) NULL, " \t\n");
if (z == NULL)
return FALSE;
@@ -155,7 +155,7 @@ fparse_cmd (zcmd, qcmd)
}
return TRUE;
- }
+ }
z = strtok ((char *) NULL, " \t\n");
if (z == NULL)
@@ -203,7 +203,7 @@ fparse_cmd (zcmd, qcmd)
}
else if (qcmd->bcmd == 'E')
return FALSE;
-
+
if (z != NULL)
{
z = strtok ((char *) NULL, "");
diff --git a/gnu/libexec/uucp/libuucp/strstr.c b/gnu/libexec/uucp/libuucp/strstr.c
index 111460b11d3c..2cf1097df2d8 100644
--- a/gnu/libexec/uucp/libuucp/strstr.c
+++ b/gnu/libexec/uucp/libuucp/strstr.c
@@ -13,8 +13,8 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.
+not, write to the Free Software Foundation, Inc., 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, May 1992, for
Taylor UUCP. */
diff --git a/gnu/libexec/uucp/libuucp/strtol.c b/gnu/libexec/uucp/libuucp/strtol.c
index f663994bf9f1..0c6b28c6cd0b 100644
--- a/gnu/libexec/uucp/libuucp/strtol.c
+++ b/gnu/libexec/uucp/libuucp/strtol.c
@@ -13,8 +13,8 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.
+not, write to the Free Software Foundation, Inc., 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA.
This file was modified slightly by Ian Lance Taylor, May 1992, for
Taylor UUCP. */
diff --git a/gnu/libexec/uucp/libuucp/strtou.c b/gnu/libexec/uucp/libuucp/strtou.c
index cd22506da301..d3c81890e3ab 100644
--- a/gnu/libexec/uucp/libuucp/strtou.c
+++ b/gnu/libexec/uucp/libuucp/strtou.c
@@ -13,8 +13,8 @@ Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
+not, write to the Free Software Foundation, Inc., 59 Temple Place -
+Suite 330, Boston, MA 02111-1307, USA. */
#define UNSIGNED 1