aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/utils/locked_pipe_command.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-16 18:20:42 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-16 18:21:13 +0000
commit6e08fbefeecfbe5ecdf7615bf4bf3941a2b68dec (patch)
tree327006b4e534addf3a90c5b828f9f6818248bbc8 /paludis/repositories/e/ebuild/utils/locked_pipe_command.cc
parenta5f766843dd12407c9f66626504d9d8f077b4970 (diff)
downloadpaludis-6e08fbefeecfbe5ecdf7615bf4bf3941a2b68dec.tar.gz
paludis-6e08fbefeecfbe5ecdf7615bf4bf3941a2b68dec.tar.xz
Handle spaces in pipe commands
Diffstat (limited to 'paludis/repositories/e/ebuild/utils/locked_pipe_command.cc')
-rw-r--r--paludis/repositories/e/ebuild/utils/locked_pipe_command.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/ebuild/utils/locked_pipe_command.cc b/paludis/repositories/e/ebuild/utils/locked_pipe_command.cc
index eca37809d..ad71045ab 100644
--- a/paludis/repositories/e/ebuild/utils/locked_pipe_command.cc
+++ b/paludis/repositories/e/ebuild/utils/locked_pipe_command.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2009 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -65,7 +65,7 @@ main(int argc, char *argv[])
return EXIT_FAILURE;
}
- /* append null to the pipe read buffer */
+ /* append an 'end' marker to the pipe read buffer */
buf[0] = '\0';
while (((w = write(write_fd, buf, 1))) == 0)
sleep(0);