summary refs log tree commit diff
path: root/src/funcs/suspend
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@stack.nl>2011-03-10 17:16:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2011-03-10 17:16:13 +0800
commit834629283f6c629a4da05ef60bae9445c954a19a (patch)
treee84d346c3225c2cc1dc46dda2e2c5c1ae03369bd /src/funcs/suspend
parent[REDIR] Replace GPL noclobberopen code with the FreeBSD version (diff)
downloaddash-834629283f6c629a4da05ef60bae9445c954a19a.tar.gz
dash-834629283f6c629a4da05ef60bae9445c954a19a.zip
[EXPAND] Do not split the result of tilde expansion
A tilde expansion generates a valid pathname. Splitting it using IFS
either leaves it unchanged or changes it to something unintended.

This fixes FreeBSD sh test expansion/tilde1.0 and does not change the
outcome of the other tests.

This fixes Debian bug #601096.

Example:
  IFS=m HOME=/tmp; printf "%s\n" ~

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
='2018-03-31 22:25:40 -0400'>2018-03-31 | * Add scheme to READMEJune McEnroe2018-03-31 | * Brighten color schemeJune McEnroe2018-03-31 | * Lighten cursor colorJune McEnroe2018-03-31 | * Tweak cyan furtherJune McEnroe2018-03-31 | | | | It's actually green at this point. * Tweak colors in schemeJune McEnroe2018-03-31 | * Add scheme.png targetJune McEnroe2018-03-31 | * Generate Terminal.app color schemeJune McEnroe2018-03-31 | | | | Colors still very much WIP, but coming along. * Generate basic ANSI color schemeJune McEnroe2018-03-31 | * Add hex output to schemeJune McEnroe2018-03-31 | * Add color scheme PNG generatorJune McEnroe2018-03-31 | * Simplify gfxx palette generationJune McEnroe2018-03-31 | * Switch to HSV for gfxx palette generationJune McEnroe2018-03-31 | * Generate default palette in gfxxJune McEnroe2018-03-30 | * PHONY is a waste of timeJune McEnroe2018-03-11 | * Yet more tweaking of dtchJune McEnroe2018-03-06 | * Trigger redraw on atch with 1x1 winsizeJune McEnroe2018-03-06 | * Add glitch to READMEJune McEnroe2018-03-02 | * Add -f -r options to glitchJune McEnroe2018-03-02 | * Take filter patterns in glitchJune McEnroe2018-03-02 | * Clean up more glitch code from pngoJune McEnroe2018-03-02 | * Refactor critical chunk check into skipChunkJune McEnroe2018-03-02 | * Add -a -d -p options to glitchJune McEnroe2018-03-02 | * Remove unnecessary parts of glitchJune McEnroe2018-03-02 | * Copy glitch from pngoJune McEnroe2018-03-02 | * Skip chunks by reading in pngoJune McEnroe2018-03-02 | | | | Pipes. * Add verbose flag to pngoJune McEnroe2018-03-02 | | | | I don't like verbose flags but I want to see what pngo manages to do. * Use memmove in pngo where neededJune McEnroe2018-02-28 | * Open watch files O_CLOEXECJune McEnroe2018-02-28 | | | | Thankfully kqueue is CLOEXEC by default it seems. * Clean up pngoJune McEnroe2018-02-28 | | | | | | Big difference is changing lines from an array of structs containing pointers into data to an array of pointers to structs pointing directly into data. * Add gfxx to READMEJune McEnroe2018-02-28 | * Clean up gfxx and add default paletteJune McEnroe2018-02-28 | | | | | | | | | | | | | | The palette was generated in Rust: extern crate hsl; fn main() { for i in 0..256 { let h = i as f64 * 360.0 / 256.0; let hsl = hsl::HSL { h, s: 1.0, l: 0.5 }; let (r, g, b) = hsl.to_rgb(); println!("0x{:02X}{:02X}{:02X},", r, g, b); } } * Print message in gfx/noneJune McEnroe2018-02-27 | * Check revents with &June McEnroe2018-02-27 | * Remove jrpJune McEnroe2018-02-25 | | | | It was fun. * Tweak watch exit codesJune McEnroe2018-02-25 | * Clean up klonJune McEnroe2018-02-25 | * Clean up xxJune McEnroe2018-02-23 | | | | There are probably like 12 commits with this title. * Clean up wake