1/* RCS utility functions */
2
3/* Copyright 1982, 1988, 1989 Walter Tichy
4 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert
5 Distributed under license by the Free Software Foundation, Inc.
6
7This file is part of RCS.
8
--- 172 unchanged lines hidden (view full) ---
181 * Cleanup message is now suppressed in quiet mode.
182 */
183
184
185
186
187#include "rcsbase.h"
188
189libId(utilId, "$Id$")
190
191#if !has_memcmp
192 int
193memcmp(s1, s2, n)
194 void const *s1, *s2;
195 size_t n;
196{
197 register unsigned char const
--- 1027 unchanged lines hidden (view full) ---
1225}
1226
1227 int
1228getRCSINIT(argc, argv, newargv)
1229 int argc;
1230 char **argv, ***newargv;
1231{
1232 register char *p, *q, **pp;
1233 size_t n;
1234
1235 if (!(q = cgetenv("RCSINIT")))
1236 *newargv = argv;
1237 else {
1238 n = argc + 2;
1239 /*
1240 * Count spaces in RCSINIT to allocate a new arg vector.
1241 * This is an upper bound, but it's OK even if too large.
1242 */
--- 149 unchanged lines hidden ---
2
3/* Copyright 1982, 1988, 1989 Walter Tichy
4 Copyright 1990, 1991, 1992, 1993, 1994, 1995 Paul Eggert
5 Distributed under license by the Free Software Foundation, Inc.
6
7This file is part of RCS.
8
--- 172 unchanged lines hidden (view full) ---
181 * Cleanup message is now suppressed in quiet mode.
182 */
183
184
185
186
187#include "rcsbase.h"
188
189libId(utilId, "$Id$")
190
191#if !has_memcmp
192 int
193memcmp(s1, s2, n)
194 void const *s1, *s2;
195 size_t n;
196{
197 register unsigned char const
--- 1027 unchanged lines hidden (view full) ---
1225}
1226
1227 int
1228getRCSINIT(argc, argv, newargv)
1229 int argc;
1230 char **argv, ***newargv;
1231{
1232 register char *p, *q, **pp;
1233 size_t n;
1234
1235 if (!(q = cgetenv("RCSINIT")))
1236 *newargv = argv;
1237 else {
1238 n = argc + 2;
1239 /*
1240 * Count spaces in RCSINIT to allocate a new arg vector.
1241 * This is an upper bound, but it's OK even if too large.
1242 */
--- 149 unchanged lines hidden ---