head	1.2;
access;
symbols
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1
	RELEASE_3_4_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.12.12.23.31.51;	author obrien;	state dead;
branches;
next	1.1;

1.1
date	99.11.29.10.14.16;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to the 29-Nov-2002 distribution.
Since the distfile isn't versioned, this was the only way to fix the
"make distclean all" problem on 5-CURRENT.

Approved by:	kris
@
text
@*** main.c.orig	Mon Oct 19 18:49:03 1998
--- main.c	Wed Jan 13 17:51:59 1999
***************
*** 27,32 ****
--- 27,33 ----
  #define DEBUG
  #include <stdio.h>
  #include <ctype.h>
+ #include <locale.h>
  #include <stdlib.h>
  #include <string.h>
  #include <signal.h>
***************
*** 55,61 ****
  	char *fs = NULL, *marg;
  	int temp;
  
! 	cmdname = argv[0];
  	if (argc == 1) {
  		fprintf(stderr, "Usage: %s [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]\n", cmdname);
  		exit(1);
--- 56,67 ----
  	char *fs = NULL, *marg;
  	int temp;
  
! 	setlocale(LC_ALL, "");
! 
! 	if ((cmdname = strrchr(argv[0], '/')) != NULL)
! 		cmdname++;
! 	else
! 		cmdname = argv[0];
  	if (argc == 1) {
  		fprintf(stderr, "Usage: %s [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]\n", cmdname);
  		exit(1);
@


1.1
log
@Update to the Jun 20, 1999 fixes.
@
text
@@

