summaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-24 05:00:29 +0000
commitbdfd0d78bc44e73d693510e70087857785b3b521 (patch)
tree153a573095afac8d8d0ea857759ecabd77fb28b7 /editors/sed.c
parent9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff)
downloadbusybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2
busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 709fb13a8..10cab7d56 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1,8 +1,8 @@
1/* 1/*
2 * sed.c - very minimalist version of sed 2 * sed.c - very minimalist version of sed
3 * 3 *
4 * Copyright (C) 1999,2000,2001 by Lineo, inc. 4 * Copyright (C) 1999,2000,2001 by Lineo, inc. and Mark Whitley
5 * Written by Mark Whitley <markw@lineo.com>, <markw@codepoet.org> 5 * Copyright (C) 1999,2000,2001 by Mark Whitley <markw@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -104,7 +104,7 @@ static int ncmds = 0; /* number of sed commands */
104 104
105/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */ 105/*static char *cur_file = NULL;*/ /* file currently being processed XXX: do I need this? */
106 106
107#ifdef BB_FEATURE_CLEAN_UP 107#ifdef CONFIG_FEATURE_CLEAN_UP
108static void destroy_cmd_strs() 108static void destroy_cmd_strs()
109{ 109{
110 if (sed_cmds == NULL) 110 if (sed_cmds == NULL)
@@ -791,7 +791,7 @@ extern int sed_main(int argc, char **argv)
791{ 791{
792 int opt; 792 int opt;
793 793
794#ifdef BB_FEATURE_CLEAN_UP 794#ifdef CONFIG_FEATURE_CLEAN_UP
795 /* destroy command strings on exit */ 795 /* destroy command strings on exit */
796 if (atexit(destroy_cmd_strs) == -1) 796 if (atexit(destroy_cmd_strs) == -1)
797 perror_msg_and_die("atexit"); 797 perror_msg_and_die("atexit");