mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Convert uid_t, gid_t to int before calling tostr.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7709 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2fe5f35d48
commit
add8d29c5f
@ -2827,7 +2827,7 @@
|
||||
|
||||
* lyxfunc.C: note status changed after a depth change
|
||||
|
||||
2003-04-04 Angus Leeming <angus@localhost.localdomain>
|
||||
2003-04-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* LaTeX.h: move AuxInfo operator==, != out of line.
|
||||
Remove LaTeX virtual destructor; nothing derives from it.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FormFiledialog.C (UserCache::add, GroupCache::add): convert
|
||||
uid_t, gid_t to int to avoid compiler complaining about call to
|
||||
overloaded tostr being ambiguous.
|
||||
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Alert_pimpl.C:
|
||||
|
@ -116,7 +116,7 @@ private:
|
||||
void UserCache::add(uid_t ID) const
|
||||
{
|
||||
struct passwd const * entry = getpwuid(ID);
|
||||
users[ID] = entry ? entry->pw_name : tostr(ID);
|
||||
users[ID] = entry ? entry->pw_name : tostr(int(ID));
|
||||
}
|
||||
|
||||
|
||||
@ -149,7 +149,7 @@ string const & GroupCache::find(gid_t ID) const
|
||||
void GroupCache::add(gid_t ID) const
|
||||
{
|
||||
struct group const * entry = getgrgid(ID);
|
||||
groups[ID] = entry ? entry->gr_name : tostr(ID);
|
||||
groups[ID] = entry ? entry->gr_name : tostr(int(ID));
|
||||
}
|
||||
|
||||
// local instances
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
* *.C: strip out redundant #includes. (26 in total.)
|
||||
|
||||
2003-09-04 Angus Leeming <angus@localhost.localdomain>
|
||||
2003-09-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* LoaderQueue.C (get):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user