try_mounts vs newly_mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: mountall
While reading mountall.c, I noticed what seems to be a minor issue. The while-loop in try_mounts() depends on newly_mounted=TRUE, but its initial value is FALSE until mark_mounted() manages to find something. While that will probably always be the case, it might be better for newly_mounted to be initialized to TRUE so try_mounts() is guaranteed to run on the first call.
ProblemType: Bug
Architecture: amd64
Date: Thu Mar 11 01:35:14 2010
DistroRelease: Ubuntu 10.04
Package: mountall 2.7
ProcEnviron:
LC_COLLATE=C
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: mountall
Uname: Linux 2.6.32-15-generic x86_64
You're quite right