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: rcsutil.c,v 1.6 1997/02/22 15:47:43 peter Exp $") |
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 char const *ev; |
1234 size_t n; 1235 |
1236 if ((ev = cgetenv("RCSLOCALID"))) 1237 setRCSLocalId(ev); 1238 1239 if ((ev = cgetenv("RCSINCEXC"))) 1240 setIncExc(ev); 1241 |
1242 if (!(q = cgetenv("RCSINIT"))) 1243 *newargv = argv; 1244 else { 1245 n = argc + 2; 1246 /* 1247 * Count spaces in RCSINIT to allocate a new arg vector. 1248 * This is an upper bound, but it's OK even if too large. 1249 */ --- 149 unchanged lines hidden --- |