mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(main): Use NSString in -initWithPipeFrom argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@867 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b16a1f535a
commit
fc1c705ece
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ int main()
|
|||
{
|
||||
char b[100];
|
||||
int len;
|
||||
id s = [[StdioStream alloc] initWithPipeFrom:"cat /etc/group | sort"];
|
||||
id s = [[StdioStream alloc] initWithPipeFrom: @"cat /etc/group | sort"];
|
||||
|
||||
while ((len = [s readBytes:b length:99]) > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue