+2005-06-10 Noah Friedman <friedman@splode.com>
+
+ * emacs-buffer.gdb (ybuffer-list): Don't use $filename; can't use
+ char as placeholder when buffer has no file name and process is
+ still live. Use different printf cases instead.
+
2005-06-08 Kim F. Storm <storm@cua.dk>
* PROBLEMS: Linux kernel 2.6.10 may corrupt process output.
if $buf->filename != Qnil
ygetptr $buf->filename
- set $filename = ((struct Lisp_String *) $ptr)->data
+ printf "%2d %c %9d %-20s %-10s %s\n", \
+ $i, $modp, ($buf->text->z_byte - 1), $name, $mode, \
+ ((struct Lisp_String *) $ptr)->data
else
- set $filename = ' '
+ printf "%2d %c %9d %-20s %-10s\n", \
+ $i, $modp, ($buf->text->z_byte - 1), $name, $mode
end
-
- printf "%2d %c %9d %-20s %-10s %s\n", \
- $i, $modp, ($buf->text->z_byte - 1), $name, $mode, $filename
end
set $i++