Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | perl_checker cleanups | Thierry Vignaud | 2016-04-04 | 1 | -4/+4 |
| | |||||
* | (setVarsInSh*) sort entries | Thierry Vignaud | 2015-06-05 | 1 | -1/+1 |
| | | | | thus it's easier to compare files when testing a tool | ||||
* | Make the is_real_(user|group) functions take just a name | Colin Guthrie | 2014-11-17 | 1 | -13/+16 |
| | | | | | | | | | While this may cause a few unnecessary getpwnam/getgrnam calls this makes the API much simpler for using externally and means we cannot be called with bogus information for u/gid, homedir and shell and such like. mga#14346 | ||||
* | Add an is_real_group API | Colin Guthrie | 2014-11-17 | 1 | -1/+27 |
| | | | | | | | | | | | | | This is similar to the is_real_user() API added in the previous commit and will be useful in higher level code which might need to filter the display appropriately. Here we use the heuristic that if the GID is in the range 500-999 then we check to see whether the group is the primary group of a user with the same name (and the user is considered a 'real' user) or that the group has any member who is considered 'real'. mga#14346 | ||||
* | Fix list_users() to filter on new uid range. | Colin Guthrie | 2014-11-17 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | The first assigned uid has now changed to 1000 (from 500) to fall in line with most other distros. This number seems hardcoded in a few places to try to do a little bit of refactoring and add a new exported function, is_real_user(), to try and centralise this logic a little. This should ultimately fix the likes of drakboot's autologin user list. mga#14346 | ||||
* | whereis_binary: shows bogus caller | Thierry Vignaud | 2014-06-21 | 1 | -1/+2 |
| | |||||
* | document that typeFromMagic() accepts function refs | Thierry Vignaud | 2012-12-07 | 1 | -0/+9 |
| | |||||
* | refresh example in doc | Thierry Vignaud | 2012-04-04 | 1 | -1/+1 |
| | |||||
* | enable perl_checker to run here | Thierry Vignaud | 2012-04-02 | 1 | -0/+1 |
| | |||||
* | kill comment obsolet since long... | Thierry Vignaud | 2011-12-19 | 1 | -2/+0 |
| | |||||
* | substInFile: fix writing to zero-sized or nonexistent files (#460), | Olivier Blin | 2011-04-12 | 1 | -3/+7 |
| | | | | | | | eof does not seem to return true anymore for filehandles vivified through select (behavior change seems introduced by upstream perl commit 32e653230c7ccc7fa595b1ab68502c6eb66ff980) | ||||
* | Synthesized commit during git-svn import combining previous Mandriva history ↵ | Mageia SVN-Git Migration | 2011-04-12 | 1 | -1/+3 |
| | | | | | | | | | | | | with Mageia. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r870 | blino | 2011-04-12 00:22:14 +0100 (Tue, 12 Apr 2011) | 1 line import perl-MDK-Common ------------------------------------------------------------------------ | ||||
* | 1.2.27:1.2.27 | Eugeni Dodonov | 2011-02-02 | 1 | -1/+53 |
| | | | | | | - added cp_afx option for copying files without crossing file systems | ||||
* | Revert previous commit, easier to do it elsewhere. | Eugeni Dodonov | 2011-02-02 | 1 | -6/+1 |
| | |||||
* | 1.2.27: | Eugeni Dodonov | 2011-02-02 | 1 | -1/+6 |
| | | | | | | - add cp_afx command | ||||
* | perl_checker cleanups | Thierry Vignaud | 2010-10-24 | 1 | -2/+2 |
| | |||||
* | append_to_file: better error message making easier to pinpoint actual place ↵ | Thierry Vignaud | 2010-10-24 | 1 | -1/+1 |
| | | | | of error | ||||
* | (substInFile) typo fix | Thierry Vignaud | 2010-10-24 | 1 | -1/+1 |
| | |||||
* | (if_, if__) make easier to debug (#60153) | Thierry Vignaud | 2010-07-20 | 1 | -2/+2 |
| | |||||
* | (if__) more precise exception message | Thierry Vignaud | 2010-07-20 | 1 | -1/+1 |
| | |||||
* | preserve sockets and pipes in cp_af1.2.25 | Pascal Terjan | 2010-06-02 | 1 | -1/+1 |
| | |||||
* | fix whereis_binary to work on absolute symlinks inside chroot1.2.24 | Pascal Terjan | 2010-01-12 | 1 | -1/+21 |
| | |||||
* | get available size of requested partition not / in df | Pascal Terjan | 2009-12-14 | 1 | -1/+1 |
| | |||||
* | use a more portable df() | Thierry Vignaud | 2009-10-07 | 1 | -11/+3 |
| | |||||
* | Update comment | Pascal Terjan | 2009-10-07 | 1 | -1/+1 |
| | |||||
* | substInFile: do not unlink the symlink to recreate it later to the same target | Pascal Terjan | 2009-10-07 | 1 | -4/+0 |
| | |||||
* | (substInFile) call fsync() when editing a non empty file | Thierry Vignaud | 2009-10-07 | 1 | -0/+2 |
| | |||||
* | (substInFile) ensure we kept old file as file.bak until we wrote new file | Thierry Vignaud | 2009-10-07 | 1 | -1/+2 |
| | |||||
* | fix df on mips, statfs structure is different from x86 (from Arnaud Patard) | Olivier Blin | 2009-10-07 | 1 | -1/+7 |
| | |||||
* | - Call fsync after writing to ensure that files are written | Aurélien Lefebvre | 2009-08-13 | 1 | -3/+4 |
| | |||||
* | Correctly handling '#' when loading shell variables (#50670, #51457). | Eugeni Dodonov | 2009-06-09 | 1 | -3/+3 |
| | |||||
* | decode ' inside '' properly in getVarsFromSh | Pascal Terjan | 2009-04-14 | 1 | -1/+6 |
| | |||||
* | add spaces to please perl_checker | Pascal Terjan | 2009-03-11 | 1 | -3/+3 |
| | |||||
* | - quote correctly ' inside '' | Pascal Terjan | 2009-03-11 | 1 | -1/+1 |
| | |||||
* | protect various chars in setExportedVarsInSh and setExportedVarsInCsh | Pascal Terjan | 2009-03-10 | 1 | -12/+14 |
| | |||||
* | - protect ;<>&#[]~{}*? in setVarsInSh | Pascal Terjan | 2009-02-02 | 1 | -1/+1 |
| | |||||
* | protect parenthesis in setVarsInSh and drop dead code (#47298) | Pascal Terjan | 2009-01-26 | 1 | -2/+1 |
| | |||||
* | - round_up(), round_down(): workaround "Illegal modulus zero" (#43165) | Pascal Rigaux | 2008-10-01 | 1 | -2/+2 |
| | |||||
* | - export cat_utf8() and cat_utf8_or_die() | Pascal Rigaux | 2008-09-09 | 1 | -1/+1 |
| | |||||
* | fix previous users list commit | Olivier Blin | 2008-04-03 | 1 | -2/+3 |
| | |||||
* | workaround glibc misconfiguration that make users listed twice (#34279) | Olivier Blin | 2008-04-03 | 1 | -2/+2 |
| | |||||
* | - modify before_leaving() to be compatible with perl 5.10.0 | Pascal Rigaux | 2008-01-18 | 1 | -12/+8 |
| | | | | | | more precisely, rewrite add_f4before_leaving in a different way so that DESTROY is correctly called when it should | ||||
* | (formatError) make it work with any modules | Thierry Vignaud | 2007-09-04 | 1 | -1/+1 |
| | |||||
* | (find_index) restore die (we should have used Carp::croak() instead | Thierry Vignaud | 2007-08-09 | 1 | -2/+1 |
| | | | | | but postponed this improvements after 2008.0) | ||||
* | (formatError) make it safer (it now handles exceptions containing " at ") | Thierry Vignaud | 2007-08-06 | 1 | -1/+1 |
| | |||||
* | (find_index) pinpoint the actual bug (ie the caller) | Thierry Vignaud | 2007-08-01 | 1 | -1/+2 |
| | | | | | (all other die should probably be altered the same way) | ||||
* | enhance fuzzy_pidofs() to handle kernel processes | Pascal Rigaux | 2007-05-30 | 1 | -1/+9 |
| | |||||
* | re-sync after the big svn loss | Pascal Rigaux | 2007-04-25 | 7 | -0/+1822 |