aboutsummaryrefslogtreecommitdiff
path: root/scripts/config/util.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-09-20Patch by Steinar H. Gunderson to fix debian bug #211675.Glenn L McGrath1-1/+1
Linking to my_getgrnam from libpwdgrp wasnt working, instead it was trying to use functionality from glibc, which pulled in libnss.
2003-09-17Patch by Junio C Hamano to workaround a gcc compiler bug.Glenn L McGrath1-22/+23
The construct certain vintages of GCC (the one I have trouble with is 3.2.3) have trouble with looks like the following: static struct st a; static struct st *p = &a; struct st { int foo; }; static void init(void) { a.foo = 0; } The problem disappears if we move the struct declaration up to let the compiler know the shape of the struct before the first definition uses it, like this: struct st { int foo; }; /* this has been moved up */ static struct st a; static struct st *p = &a; static void init(void) { a.foo = 0; }
2003-09-16Configuration option to define wether to follows GNU sed's behaviour Glenn L McGrath5-29/+70
or the posix standard. Put the cleanup code back the way it was.
2003-09-16Fix a bug that creapt in recently with substitution subprinting, and addGlenn L McGrath2-3/+11
a test for it.
2003-09-16Compile get_terminal_width_heightGlenn L McGrath1-7/+8
2003-09-15Patch from Stephane Billiart to fix an unused variable warning.Glenn L McGrath1-1/+3
2003-09-15Patch from Bastian Blank to fix a problem when runing find under ash.Glenn L McGrath1-3/+3
"If the shell is compiled with -DJOBS, this is all fine -- find wasn't stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG. However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i), only WSTOPSIG is used, which extracts the high byte instead of the low byte from the status code. Since the status code is 13 (SIGPIPE), "st" suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints out "EXIT" on find's exit."
2003-09-15Patch from Tito, Reduces the size of busybox's strings applet from 1900 toGlenn L McGrath1-12/+11
1788 bytes (for strings.o).
2003-09-15Fix a simple mistake with pattern space, and add a test for itGlenn L McGrath2-2/+15
2003-09-15Patch by Jean Wolter to fix a bug where a script wouldnt be executedGlenn L McGrath1-1/+4
unless it had #!/bin/sh in the first line "It correctly locates the script, tries to execute it via execve which fails. After that it tries to hand it over to /bin/sh which fails too, since ash - neither provides the absolute pathname to /bin/sh - nor tries to lookup the script via PATH if called as "sh script" "
2003-09-15Fix some memory allocation problemsGlenn L McGrath1-18/+21
----------------------------------------------------------------------
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen10-95/+110
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-15fix function prototypeEric Andersen1-1/+1
2003-09-15Needs prototype for close()Eric Andersen1-0/+1
2003-09-15comparison was always false due to limited range of data types.Eric Andersen1-1/+1
Carefully cast to unsigned long long prior to multiply to get the expected result.
2003-09-15Do not shadow the global name 'accept'Eric Andersen1-2/+2
2003-09-15Add a test for the 'P' command and fix current implementation so itGlenn L McGrath2-0/+14
doesnt permanently modify the pattern space.
2003-09-15A test and fix for the sed 'n' commandGlenn L McGrath2-0/+20