OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452ff9e
)
Teach pwd to detect write errors.
author
Rob Landley
<rob@landley.net>
Sun, 21 Jan 2007 03:59:00 +0000
(22:59 -0500)
committer
Rob Landley
<rob@landley.net>
Sun, 21 Jan 2007 03:59:00 +0000
(22:59 -0500)
toys/pwd.c
patch
|
blob
|
history
diff --git
a/toys/pwd.c
b/toys/pwd.c
index
3ba7ae0
..
59d7223
100644
(file)
--- a/
toys/pwd.c
+++ b/
toys/pwd.c
@@
-9,7
+9,7
@@
int pwd_main(void)
{
char *pwd = xgetcwd();
-
puts(
pwd);
+
xprintf("%s\n",
pwd);
if (CFG_TOYS_FREE) free(pwd);
return 0;