projects
/
gcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edaab57
)
pathnames1.3
author
Camm Maguire
<camm@debian.org>
Wed, 18 Dec 2019 20:14:09 +0000
(20:14 +0000)
committer
Camm Maguire
<camm@debian.org>
Wed, 18 Dec 2019 20:14:09 +0000
(20:14 +0000)
Gbp-Pq: Name pathnames1.3
o/unixfsys.c
patch
|
blob
|
history
diff --git
a/o/unixfsys.c
b/o/unixfsys.c
index 3c47a0f47be244e907dfbfdfa1f3d3033e24daa8..9dcac652ac397e795be856e0e691f8d0676394d2 100755
(executable)
--- a/
o/unixfsys.c
+++ b/
o/unixfsys.c
@@
-83,7
+83,7
@@
DEFUN_NEW("UID-TO-NAME",object,fSuid_to_name,SI,1,1,NONE,OI,OO,OO,OO,(fixnum uid
long r;
massert((r=sysconf(_SC_GETPW_R_SIZE_MAX))>=0);
- massert(r<
sizeof(FN1));
+ massert(r<
=sizeof(FN1));/*FIXME maybe once at image startup*/
massert(!getpwuid_r(uid,&pw,FN1,r,&pwent));
@@
-97,7
+97,7
@@
DEFUN_NEW("HOME-NAMESTRING",object,fShome_namestring,SI,1,1,NONE,OO,OO,OO,OO,(ob
long r;
massert((r=sysconf(_SC_GETPW_R_SIZE_MAX))>=0);
- massert(r<
sizeof(FN1));
+ massert(r<
=sizeof(FN1));/*FIXME maybe once at image startup*/
if (nm->st.st_fillp==1)