1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-11 03:05:52 +01:00

Remove wsyserrorwithcode, rename wsyserror to werror

wsyserrorwithcode - Not used, no point either.
wsyserror->werror - qualifying "error" with a "type" hardly makes
sense if there are not at least two "type"s. There are not. Safe trip.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
This commit is contained in:
Tamas TEVESZ
2010-09-27 16:12:57 +02:00
committed by Carlos R. Mafra
parent c5f5e0b9c0
commit 1f21919809
20 changed files with 92 additions and 108 deletions

View File

@@ -201,13 +201,13 @@ void copyFile(char *dir, char *file)
RETRY( dst = fopen(dstpath, "wb") )
if (dst == NULL) {
wsyserror(_("Could not create %s"), dstpath);
werror(_("Could not create %s"), dstpath);
goto err;
}
RETRY( src = fopen(file, "rb") )
if (src == NULL) {
wsyserror(_("Could not open %s"), file);
werror(_("Could not open %s"), file);
goto err;
}

View File

@@ -883,7 +883,7 @@ void helperLoop(RContext * rc)
/* get length of message */
if (readmsg(0, buffer, 4) < 0) {
wsyserror("error reading message from Window Maker");
werror("error reading message from Window Maker");
errcount--;
if (errcount == 0) {
wfatal("quitting");
@@ -897,7 +897,7 @@ void helperLoop(RContext * rc)
/* get message */
if (readmsg(0, buffer, size) < 0) {
wsyserror("error reading message from Window Maker");
werror("error reading message from Window Maker");
errcount--;
if (errcount == 0) {
wfatal("quitting");