From: "Vadim V. Zhytnikov" <vvzhy@netorn.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] NEdit ?
Date: Fri, 17 Oct 2003 12:51:49 +0300
Message-ID: <3F8FBBB5.4020407@netorn.ru> (raw)
In-Reply-To: <20031016060018.GB23522@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
Dmitry V. Levin пишет:
> On Thu, Oct 16, 2003 at 08:03:43AM +0300, Vadim V. Zhytnikov wrote:
>
>>А вот решиль поиздеваться дальше.
>>
>>Оставил пустой (0 байт) файл
>>/etc/X11/app-defaults/NEdit
>>Есть шрифты в меню.
>>Убрал - нет шрифтов.
>>Восстановил - ест!
>>
>>Как такое может быть?
>>Какой-то тонкий баг в nedit?
>
>
> Будьте добры разницу между "strace -e trace=file nedit" для двух вариантов
> окружения.
>
diff -uN nedit-strace nedit-strace-app-def
в аттаче
Первое без NEdit (нет букв в меню), второе с пустым NEdit (есть меню)
--
Vadim V. Zhytnikov
<vvzhy@mail.ru>
<vvzhy@netorn.ru>
[-- Attachment #2: nedit-strace-diff --]
[-- Type: text/plain, Size: 2795 bytes --]
--- nedit-strace 2003-10-17 12:38:52 +0400
+++ nedit-strace-app-def 2003-10-17 12:39:18 +0400
@@ -99,13 +99,10 @@
access("/home/vadim/ru_RU.KOI8-R/NEdit", R_OK) = -1 ENOENT (No such file or directory)
access("/home/vadim/ru/NEdit", R_OK) = -1 ENOENT (No such file or directory)
access("/home/vadim/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/etc/X11/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/ru_RU.KOI8-R/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/ru/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/ru_RU.KOI8-R/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/ru/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
-access("/usr/X11R6/lib/X11/app-defaults/NEdit", R_OK) = -1 ENOENT (No such file or directory)
+access("/etc/X11/app-defaults/NEdit", R_OK) = 0
+stat64("/etc/X11/app-defaults/NEdit", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
+open("/etc/X11/app-defaults/NEdit", O_RDONLY) = 4
+fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
open("/home/vadim/bin", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/bin", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=3056, ...}) = 0
@@ -120,9 +117,6 @@
open("/home/vadim/.neditdb", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=593, ...}) = 0
stat64("/usr/X11R6/lib/X11/Xcms.txt", 0xbfffa6d0) = -1 ENOENT (No such file or directory)
-open("/home/vadim/.motifbind", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
-open("/home/vadim/xmbind.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
-open("/usr/X11R6/lib/X11/bindings/xmbind.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=115454, ...}) = 0
open("/lib/i686/mmx/libXcursor.so.1.0", O_RDONLY) = -1 ENOENT (No such file or directory)
@@ -169,9 +163,6 @@
open("/usr/X11R6/lib/X11/locale/koi8-r/Compose", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=376, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0444, st_size=376, ...}) = 0
-access("/home/vadim/.Xauthority", R_OK) = 0
-open("/home/vadim/.Xauthority", O_RDONLY) = 5
-fstat64(5, {st_mode=S_IFREG|0600, st_size=357, ...}) = 0
open("/usr/lib/gconv/KOI8-R.so", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=7288, ...}) = 0
open("/home/vadim/.icons/jimmac/cursors/crosshair", O_RDONLY) = -1 ENOENT (No such file or directory)
next prev parent reply other threads:[~2003-10-17 9:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 10:20 Vadim V. Zhytnikov
2003-10-15 9:24 ` Dmitry V. Levin
2003-10-15 10:55 ` Vadim V. Zhytnikov
2003-10-15 21:24 ` Vadim V. Zhytnikov
2003-10-15 20:33 ` Ildar Mulyukov
2003-10-16 4:37 ` Vadim V. Zhytnikov
2003-10-16 5:03 ` Vadim V. Zhytnikov
2003-10-16 6:00 ` Dmitry V. Levin
2003-10-17 9:51 ` Vadim V. Zhytnikov [this message]
2003-10-15 10:20 ` Arcady V. Ivanov
2003-10-15 15:13 ` Alexandre Prokoudine
2003-10-15 19:06 ` Vadim V. Zhytnikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F8FBBB5.4020407@netorn.ru \
--to=vvzhy@netorn.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git