=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/calendar/io.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/calendar/io.c 1996/12/05 06:04:40 1.1 --- src/usr.bin/calendar/io.c 1997/09/12 04:12:48 1.2 *************** *** 1,4 **** ! /* $OpenBSD: io.c,v 1.1 1996/12/05 06:04:40 millert Exp $ */ /* * Copyright (c) 1989, 1993, 1994 --- 1,4 ---- ! /* $OpenBSD: io.c,v 1.2 1997/09/12 04:12:48 millert Exp $ */ /* * Copyright (c) 1989, 1993, 1994 *************** *** 43,49 **** #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else ! static char rcsid[] = "$OpenBSD: io.c,v 1.1 1996/12/05 06:04:40 millert Exp $"; #endif #endif /* not lint */ --- 43,49 ---- #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else ! static char rcsid[] = "$OpenBSD: io.c,v 1.2 1997/09/12 04:12:48 millert Exp $"; #endif #endif /* not lint */ *************** *** 253,259 **** chdir(getenv("HOME")); if (!(chdir(calendarHome) == 0 && freopen(calendarFile, "r", stdin))) ! errx(1, "no calendar file: ``%s'' or ``~/%s/%s\n", calendarFile, calendarHome, calendarFile); } } if (pipe(pdes) < 0) --- 253,260 ---- chdir(getenv("HOME")); if (!(chdir(calendarHome) == 0 && freopen(calendarFile, "r", stdin))) ! errx(1, "no calendar file: ``%s'' or ``~/%s/%s", ! calendarFile, calendarHome, calendarFile); } } if (pipe(pdes) < 0)