summary refs log tree commit diff
path: root/src/funcs/dirs
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-08-05 23:50:37 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-08-05 23:50:37 +0800
commitcc0e9399fd01f16ecb5ca49066da847e1d94f9ca (patch)
treeccbfcf67c09ac8d0cc158de110f4cdb2177e9b49 /src/funcs/dirs
parent[MAN] Added missing right parenthesis (diff)
downloaddash-cc0e9399fd01f16ecb5ca49066da847e1d94f9ca.tar.gz
dash-cc0e9399fd01f16ecb5ca49066da847e1d94f9ca.zip
[CD] Fixed getcwd build error for the non-glibc case
On Sat, Aug 02, 2008 at 01:24:16AM +0200, Peter Hartlich wrote:
>
> dash's debian/diff/0048--CD-Restored-warning-when-getcwd-fails.diff
> contains the following lines:
>
> -     return getcwd(buf, sizeof(buf)) ? savestr(buf) : nullstr;
> +
> +     if (getcwd(buf, sizeof(buf))
> +             return savestr(buf);
>
> The if condition is missing a closing parenthesis, which probably went
> unnoticed because it occurs in a section only compiled if __GLIBC__ is
> not defined.

This patch adds the extra parenthesis.  Thanks Peter.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/dirs')
0 files changed, 0 insertions, 0 deletions
efile?h=1.4.0&id=dad80d1ff8e065002cdf4e37252164a7f8517a5b&follow=1'>Tag release v0.3Lars Hjemli 2007-05-11Update README with submodule build infoLars Hjemli 2007-05-11Add submodule links in tree listingLars Hjemli 2007-05-11Add submodules.sh and use it during buildsLars Hjemli 2007-05-11Added git as a submoduleLars Hjemli 2007-05-09Add support for downloading single blobsLars Hjemli 2007-05-08ui-view: show pathname if specified in querystringLars Hjemli 2007-05-08Update to libgit 1.5.2-rc2Lars Hjemli 2007-02-21Layout updateLars Hjemli 2007-02-08Make snapshot feature configurableLars Hjemli 2007-02-08Add support for snapshotsLars Hjemli 2007-02-05cgit v0.2Lars Hjemli 2007-02-05Add support for prefix and gitsrc arguments to 'make'Lars Hjemli 2007-02-04Update cgitrc templateLars Hjemli 2007-02-04Add support for lightweight tagsLars Hjemli 2007-02-04Read repo-info from /etc/cgitrcLars Hjemli 2007-02-04Do not die if tag has no messageLars Hjemli 2007-02-03Fix search for non-virtual urlsLars Hjemli 2007-01-28Update README with install/config informationLars Hjemli