lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Bug in dev.8 when changing permissions


From: Ismael Cordeiro
Subject: lynx-dev Bug in dev.8 when changing permissions
Date: Thu, 10 Dec 1998 18:10:07 -0500 (EST)

A bug was introduced in lynx2.8.2dev.8. When trying to change permissons of
a file lynx crashes with signal 11. In dev.7 it works correctly. Until the
crash, the difference between trace files of dev.8 and dev.7 is this (!), in
dev.8:

38,82c38,620
< unknown format character 'o' in chmod %.4o %s
< COOKIE: 913327219 cf 1070645868
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 1924991999
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 946641600
< COOKIE: 913327219 cf 942189160
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 946713600
< COOKIE: 913327219 cf 941873241
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 974990824
< COOKIE: 913327219 cf 974990824
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 942189160
< COOKIE: 913327219 cf 942189160
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 946598460
< COOKIE: 913327219 cf 942189160
< COOKIE: 913327219 cf 915145200
< COOKIE: 913327219 cf 942105600
< COOKIE: 913327219 cf 942105660
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 1356307199
< COOKIE: 913327219 cf 1356307199
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 0
< COOKIE: 913327219 cf 1135929600
< COOKIE: 913327219 cf 946684799
< COOKIE: 913327219 cf 0
< LYRemoveTemp(/tmp/L24680-1TMP.html)
< ...LYRemoveTemp done(0)

and then it crashes...

Changing line 1294 of LYLocal.c from

HTSprintf(&tmpbuf, "chmod %.4o %s", (unsigned int)new_mode, destpath);

back to, as in dev.7,

sprintf(tmpbuf, "chmod %.4o %s", (unsigned int)new_mode, destpath);

corrects the problem, but I don't know the consequences...

Ismael
-- 

       +--------------------------------------------------------------+
       | ISMAEL CORDEIRO            | mailto:address@hidden      |
       | Production sound mixer     | http://www.ismael.cordeiro.com/ |
       | Montréal - Québec - Canada | ftp://ftp.cam.org/users/ismael/ |
       +--------------------------------------------------------------+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]