> @@ -285,12 +288,6 @@
> #ifdef USE_POP
> if (!Context || Context->magic != M_POP)
> #endif
> - /* check device ID and serial number instead of comparing paths */
> - if (!Context || !Context->path || stat (Context->path, &contex_sb) !=
> 0)
> - {
> - cont
> Hi,
>
> * Erik Hovland wrote:
>
@@ -285,12 +288,6 @@
#ifdef USE_POP
if (!Context || Context->magic != M_POP)
#endif
- /* check device ID and serial number instead of comparing paths */
- if (!Context || !Context->path || stat (Context->path, &contex_sb) !=
0)
Hi,
* Erik Hovland wrote:
@@ -285,12 +288,6 @@
#ifdef USE_POP
if (!Context || Context->magic != M_POP)
#endif
- /* check device ID and serial number instead of comparing paths */
- if (!Context || !Context->path || stat (Context->path, &contex_sb) !=
0)
- {
- contex_sb.st_dev=0;
- con
>> # HG changeset patch
>> # User Erik Hovland
>> # Date 1236890095 25200
>> # Branch HEAD
>> # Node ID b4cf86788470dceb7bc4f80edc7f9b7098839a43
>> # Parent abb26dfac5656d678607e215f36a1c52db460a19
>> Since contex_sb might be uninitialized, it is
>> better to zero it and remove the condition
>> t
Hi,
* Erik Hovland wrote:
# HG changeset patch
# User Erik Hovland
# Date 1236890095 25200
# Branch HEAD
# Node ID b4cf86788470dceb7bc4f80edc7f9b7098839a43
# Parent abb26dfac5656d678607e215f36a1c52db460a19
Since contex_sb might be uninitialized, it is
better to zero it and remove the conditio
1 file changed, 3 insertions(+), 6 deletions(-)
buffy.c |9 +++--
# HG changeset patch
# User Erik Hovland
# Date 1236890095 25200
# Branch HEAD
# Node ID b4cf86788470dceb7bc4f80edc7f9b7098839a43
# Parent abb26dfac5656d678607e215f36a1c52db460a19
Since contex_sb might be uninitialized, it