mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
Preparing to do exactly as FIXME says
However, knowing about those functions is quite a prerequisite. Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
committed by
Carlos R. Mafra
parent
1f21919809
commit
34293e072a
@@ -176,8 +176,8 @@ char *wexpandpath(char *path)
|
|||||||
error:
|
error:
|
||||||
errno = ENAMETOOLONG;
|
errno = ENAMETOOLONG;
|
||||||
werror(_("could not expand %s"), origpath);
|
werror(_("could not expand %s"), origpath);
|
||||||
/* FIXME: too many functions handle a return value of NULL incorrectly */
|
|
||||||
exit(1);
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* return address of next char != tok or end of string whichever comes first */
|
/* return address of next char != tok or end of string whichever comes first */
|
||||||
|
|||||||
Reference in New Issue
Block a user