~ubuntu-branches/ubuntu/karmic/luatex/karmic

« back to all changes in this revision

Viewing changes to src/libs/luafilesystem/src/lfs.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2008-04-15 07:50:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080415075017-syz15wlp1f2ep6lo
Tags: 0.25.2-1
* several new upstreams
* fix poppler patch for 0.4 (etch) to work with split out libpng patch
* fix poppler patch for 0.6
* fix README.Debian-source
* add copyright statement for src/libs/md5 (needed now)
* link the luatex reference manual into /usr/share/doc/texmf to make it
  available to texdoc (Closes: #473049)
* fix doc-base section of luatex-ref manual

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
   { perms[1] = 'w'; perms[4] = 'w'; perms[7] = 'w'; }
420
420
  if (mode  & _S_IEXEC) 
421
421
   { perms[2] = 'x'; perms[5] = 'x'; perms[8] = 'x'; }
422
 
  return strdup(perms);
 
422
  return perms;
423
423
}
424
424
#else
425
425
static const char *perm2string (mode_t mode) {
433
433
  if (mode & S_IROTH) perms[6] = 'r';
434
434
  if (mode & S_IWOTH) perms[7] = 'w';
435
435
  if (mode & S_IXOTH) perms[8] = 'x';
436
 
  return strdup(perms);
 
436
  return perms;
437
437
}
438
438
#endif
439
439