[28548] in Source-Commits
delete commit: Delete the remaining code of old delete
daemon@ATHENA.MIT.EDU (Victor Vasiliev)
Sat Nov 28 17:16:36 2015
Date: Sat, 28 Nov 2015 17:16:34 -0500
From: Victor Vasiliev <vasilvv@mit.edu>
Message-Id: <201511282216.tASMGY0p012630@drugstore.mit.edu>
To: source-commits@mit.edu
https://github.com/mit-athena/delete/commit/9f6fac50fc78858b118772c7cf9adf091f3933e3
commit 9f6fac50fc78858b118772c7cf9adf091f3933e3
Author: Victor Vasiliev <vasilvv@mit.edu>
Date: Sat Nov 28 17:16:01 2015 -0500
Delete the remaining code of old delete
Makefile.in | 95 --------------------------------------------------------
configure.ac | 15 ---------
delete_errs.et | 55 --------------------------------
3 files changed, 0 insertions(+), 165 deletions(-)
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 5127a83..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,95 +0,0 @@
-# $Id: Makefile.in,v 1.1 1998-11-16 16:43:36 ghudson Exp $
-
-SHELL=/bin/sh
-VPATH=@srcdir@
-INSTALL=@INSTALL@
-INSTALL_PROGRAM=@INSTALL_PROGRAM@
-INSTALL_DATA=@INSTALL_DATA@
-MKDIR_P=@MKDIR_P@
-srcdir=@srcdir@
-top_srcdir=@top_srcdir@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-bindir=@bindir@
-datarootdir=@datarootdir@
-mandir=@mandir@
-
-CC=@CC@
-DEFS=@DEFS@
-CPPFLAGS=@CPPFLAGS@
-CFLAGS=@CFLAGS@
-LDFLAGS=@LDFLAGS@
-LIBS=@AFS_LIBS@ @LIBS@
-ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
-
-COBJS= util.o delete_errs.o errors.o
-POBJS= directories.o pattern.o shell_regexp.o stack.o
-OBJS= ${COBJS} ${POBJS} delete.o undelete.o expunge.o lsdel.o col.o
-DELETEOBJS= delete.o ${POBJS} ${COBJS}
-UNDELETEOBJS= undelete.o ${POBJS} ${COBJS}
-EXPUNGEOBJS= expunge.o col.o ${POBJS} ${COBJS}
-LSDELOBJS= lsdel.o col.o ${POBJS} ${COBJS}
-
-PROGS= delete undelete expunge lsdel
-
-all: ${PROGS}
-
-delete: ${DELETEOBJS}
- ${CC} ${LDFLAGS} -o $@ ${DELETEOBJS} ${LIBS}
-
-undelete: ${UNDELETEOBJS}
- ${CC} ${LDFLAGS} -o $@ ${UNDELETEOBJS} ${LIBS}
-
-expunge: ${EXPUNGEOBJS}
- ${CC} ${LDFLAGS} -o $@ ${EXPUNGEOBJS} ${LIBS}
-
-lsdel: ${LSDELOBJS}
- ${CC} ${LDFLAGS} -o $@ ${LSDELOBJS} ${LIBS}
-
-delete_errs.h delete_errs.c:
- compile_et ${srcdir}/delete_errs.et
-
-.c.o:
- ${CC} -c ${ALL_CFLAGS} $<
-
-check:
-
-install:
- ${MKDIR_P} ${DESTDIR}${bindir}
- ${MKDIR_P} ${DESTDIR}${mandir}/man1
- ${INSTALL_PROGRAM} delete ${DESTDIR}${bindir}
- ${INSTALL_PROGRAM} undelete ${DESTDIR}${bindir}
- ${INSTALL_PROGRAM} expunge ${DESTDIR}${bindir}
- ${INSTALL_PROGRAM} lsdel ${DESTDIR}${bindir}
- rm -f ${DESTDIR}${bindir}/purge
- ln -s expunge ${DESTDIR}${bindir}/purge
- ${INSTALL_DATA} ${srcdir}/man1/delete.1 ${DESTDIR}${mandir}/man1
- ${INSTALL_DATA} ${srcdir}/man1/undelete.1 ${DESTDIR}${mandir}/man1
- ${INSTALL_DATA} ${srcdir}/man1/expunge.1 ${DESTDIR}${mandir}/man1
- ${INSTALL_DATA} ${srcdir}/man1/lsdel.1 ${DESTDIR}${mandir}/man1
- ${INSTALL_DATA} ${srcdir}/man1/purge.1 ${DESTDIR}${mandir}/man1
-
-clean:
- rm -f ${PROGS} ${OBJS}
-
-distclean: clean
- rm -f config.cache config.log config.status Makefile
-
-col.o: col.c errors.h mit-copying.h delete_errs.h col.h
-delete.o: delete.c errors.h mit-copying.h delete_errs.h util.h delete.h
-directories.o: directories.c delete_errs.h util.h mit-copying.h \
- directories.h errors.h
-errors.o: errors.c delete_errs.h mit-copying.h
-expunge.o: expunge.c col.h mit-copying.h util.h directories.h \
- pattern.h expunge.h shell_regexp.h delete_errs.h errors.h
-lsdel.o: lsdel.c col.h mit-copying.h util.h directories.h pattern.h \
- lsdel.h shell_regexp.h delete_errs.h errors.h
-pattern.o: pattern.c pattern.h mit-copying.h util.h directories.h \
- undelete.h shell_regexp.h delete_errs.h errors.h stack.h
-shell_regexp.o: shell_regexp.c shell_regexp.h mit-copying.h \
- delete_errs.h errors.h
-stack.o: stack.c stack.h mit-copying.h delete_errs.h errors.h util.h
-undelete.o: undelete.c delete_errs.h pattern.h mit-copying.h util.h \
- directories.h undelete.h shell_regexp.h errors.h
-util.o: util.c delete_errs.h util.h mit-copying.h directories.h \
- errors.h
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 24ce934..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,15 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT
-AC_CONFIG_SRCDIR([delete.c])
-
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_MKDIR_P
-
-AC_CHECK_LIB([m], [log10])
-
-ATHENA_UTIL_COM_ERR
-ATHENA_AFS("-lsys -lrx -llwp -lafsutil")
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT
diff --git a/delete_errs.et b/delete_errs.et
deleted file mode 100644
index 4ce0da3..0000000
--- a/delete_errs.et
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1988 Massachusetts Institute of Technology.
-#
-# For copying and distribution information, see the file
-# "mit-copying.h".
-#
-# $Id: delete_errs.et,v 1.5 1999-01-22 23:08:54 ghudson Exp $
-#
-
- et del
-
-ec REGEXP_MISSING_QUOTED_CHAR,
- "missing quoted character after backslash"
-ec REGEXP_MISSING_BRACE,
- "missing ]"
-ec REGEXP_EMPTY_BRACES,
- "illegal empty braces"
-ec DIR_NOT_DIRECTORY,
- "internal error: directory operation on non-directory"
-ec DIR_IMPOSSIBLE_ERROR,
- "interal error: something that shouldn't happen just did"
-ec COL_COLUMNS_TOO_THIN,
- "possible internal error: listing columns too thin"
-ec DELETE_IS_DOTFILE,
- "can't delete `.' or `..'"
-ec DELETE_CANT_DEL_DIR,
- "can't delete (not file)"
-ec DELETE_DIR_NOT_EMPTY,
- "can't delete (directory not empty)"
-ec DELETE_CANT_DEL_FILE,
- "can't delete (not directory)"
-ec DELETE_NOT_DELETED,
- ""
-ec UNDEL_NOT_UNDELETED,
- ""
-ec NO_HOME_DIR,
- "can't find home directory"
-ec INTERNAL_ERROR,
- "strange internal error"
-ec DELETE_ENOMATCH,
- "no match"
-ec EXPUNGE_NOT_EXPUNGED,
- ""
-ec PURGE_TOO_MANY_ARGS,
- "command takes no arguments"
-ec PAT_NO_FILES_REQUESTED,
- "internal error: no files requested in call to find_matches or do_match"
-ec PAT_IS_MOUNT,
- "ignored (is mount point)"
-ec STACK_BAD_OP,
- "internal error: call to dostack with undefined stack operation"
-ec STACK_EMPTY,
- "internal error: attempt to pop from empty stack"
-
- end
-