From: Jean-Marc Pigeon (Delson) Date: Wed, 18 Jun 2025 03:38:46 +0000 (-0400) Subject: check about the stat command X-Git-Tag: tag-0.9~114 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=519bd7a0f2f056d9bba1ce81abad6e77571abe40;p=jmp%2Fmailleur check about the stat command --- diff --git a/lib/uniprc.c b/lib/uniprc.c index f2669c4..e9c8e24 100644 --- a/lib/uniprc.c +++ b/lib/uniprc.c @@ -55,8 +55,10 @@ struct stat bufstat; id=(uid_t)0; fullname=rou_apppath(appname); +(void) fprintf(stderr,"JMPDBG fullname=<%s>\n",fullname); if (stat(fullname,&bufstat)<0) - (void) rou_alert(0,"%s Unable to get <%s> stat (bug?)",OPEP,fullname); + (void) rou_alert(0,"%s Unable to get <%s> stat (error=<%s> bug?)", + OPEP,fullname,strerror(errno)); else { if (group==false) id=bufstat.st_uid;